keys commands help you manage API keys for users and organizations.
Subcommands
User Keys
list
List API keys for the current user.boolean
Output in JSON format (default: false)
boolean
Print help information and exit
ls
create
Create an API key for the current user.string
API key name
string
Expiration date (ISO format) or empty for no expiry
boolean
Output in JSON format (default: false)
boolean
Print help information and exit
delete
Delete an API key for the current user.string[]
required
One or more API key IDs to delete
Organization Keys
list
List API keys for an organization.string
Organization ID
boolean
Output in JSON format (default: false)
boolean
Print help information and exit
ls
create
Create an API key for an organization.string
Organization ID
string
API key name
string
Expiration date (ISO format) or empty for no expiry
boolean
Output in JSON format (default: false)
boolean
Print help information and exit
delete
Delete an API key for an organization.string[]
required
One or more API key IDs to delete
Global Flags
boolean
Print help information and exit