bcdock auth set-token
bcdock auth set-token¶
Store an API token persistently
Synopsis¶
Store an API key in ~/.bcdock/credentials.json for all future commands.
Generate API keys at: https://app.bcdock.io/profile/api-keys
The token is used in order of precedence: 1. --token flag 2. BCDOCK_TOKEN environment variable 3. ~/.bcdock/credentials.json (set by this command)
Options¶
Options inherited from parent commands¶
--api-url string API base URL (overrides BCDOCK_API_URL env var)
--no-color Disable colored output
-o, --output string Output format: table, json, csv (default "table")
-q, --quiet Suppress non-essential output
--timeout duration Request timeout (default 30s)
--token string API token (overrides BCDOCK_TOKEN env var)
SEE ALSO¶
- bcdock auth - Authenticate with the BCDock platform