Commands
| Command | Description |
|---|---|
devhelm auth login | Authenticate and save credentials |
devhelm auth logout | Clear saved credentials |
devhelm auth me | Show current user and organization |
devhelm auth token | Display the current API token |
devhelm auth context | Show the active context |
devhelm auth context create <name> | Create a named context |
devhelm auth context list | List all contexts |
devhelm auth context use <name> | Switch to a context |
devhelm auth context delete <name> | Delete a context |
auth login
Authenticate interactively and save credentials to~/.devhelm/contexts.json.
| Flag | Type | Default | Description |
|---|---|---|---|
--token | string | — | API token (skips interactive prompt) |
--name | string | default | Context name to save under |
auth logout
Clear the active context’s saved credentials.auth me
Show the authenticated user’s details and current organization.auth token
Display the resolved API token. Useful for piping into other tools:auth context
Show active context
Create a context
| Flag | Type | Default | Description |
|---|---|---|---|
--token | string | — | API token (required) |
--api-url | string | https://api.devhelm.io | API base URL for this context |
--set-current / --no-set-current | boolean | true | Whether to switch to this context immediately |
List contexts
*.
Switch context
Delete a context
Next steps
CLI authentication guide
Token resolution order and best practices.
API keys
Create and manage API keys.