Skip to main content
Manage API keys from the command line. Create keys for CI/CD pipelines, service integrations, and team members.

Commands

CommandDescription
devhelm api-keys listList all API keys
devhelm api-keys get <id>Get API key details
devhelm api-keys createCreate a new API key
devhelm api-keys delete <id>Delete an API key
devhelm api-keys revoke <id>Revoke an API key

api-keys list

devhelm api-keys list
Lists all API keys with their names, creation dates, and expiration status. Key values are never displayed after creation.

api-keys get

devhelm api-keys get 42

api-keys create

devhelm api-keys create --name "CI Pipeline"
FlagTypeRequiredDescription
--namestringYesKey display name
--expires-atstringExpiration timestamp in ISO 8601 format
Create a key that expires in 90 days:
devhelm api-keys create \
  --name "Contractor access" \
  --expires-at "2025-07-01T00:00:00Z"
The full API key value is only shown once at creation time. Copy it immediately — it cannot be retrieved later.

api-keys delete

Permanently delete an API key.
devhelm api-keys delete 42

api-keys revoke

Revoke an API key. The key remains visible in the list but can no longer authenticate.
devhelm api-keys revoke 42

Next steps

Authentication

Token resolution order and saved contexts.

Authentication reference

API token formats and security best practices.