Preflight Checklist
Problem Statement
I need to audit my organization to ensure my staff are logged in to claude code using the approved corporate claude account for monitoring and contractual management of data, instead of personal accounts on work assets.
Proposed Solution
I would like to be able to determine what account is being used for claude code billing both programmatically (say, catting a file, examining a keychain, or using a claude command line flag) and within the UI (say, using /whoami) and see what account is associated for billing.
Alternative Solutions
I have looked for this information in keychains, configuration files, and using /status, but none of these are truly adequate for this need.
Priority
Medium - Would be very helpful
Feature Category
Configuration and settings
Use Case Example
Enterprise GRC
- I am an enterprise administrator who needs to make sure all claude usage within my organization uses corporate approved credentials bound by corporate contracts for data management, in order to mitigate data loss concerns.
- I would use my enterprise software management tools to poll claude code instances to determine what accounts they are logged into
- I would be able to enforce only specific accounts by being able to automatically change this setting as needed.
Additional Context
No response
Preflight Checklist
Problem Statement
I need to audit my organization to ensure my staff are logged in to claude code using the approved corporate claude account for monitoring and contractual management of data, instead of personal accounts on work assets.
Proposed Solution
I would like to be able to determine what account is being used for claude code billing both programmatically (say, catting a file, examining a keychain, or using a claude command line flag) and within the UI (say, using /whoami) and see what account is associated for billing.
Alternative Solutions
I have looked for this information in keychains, configuration files, and using /status, but none of these are truly adequate for this need.
Priority
Medium - Would be very helpful
Feature Category
Configuration and settings
Use Case Example
Enterprise GRC
Additional Context
No response