CB Response: How To View Users API Keys
book
Article ID: 290574
calendar_today
Updated On:
Products
Carbon Black EDR (formerly Cb Response)
Issue/Introduction
How to view Users API Keys via CLI.
Environment
- CB Response Server: All Versions
- PostGres Database
Resolution
- Run following command on Master/Standalone server to view API Keys for all Users:
psql -d cb -p 5002 -c "Copy (select username, auth_token from cb_user) to '/tmp/username_auth_token.csv' with CSV";
Additional Information
- Command will create file called 'username_auth_token.csv' in the /tmp directory
Feedback
thumb_up
Yes
thumb_down
No