bcdock auth
bcdock auth¶
Authenticate with the BCDock platform
Synopsis¶
Manage authentication credentials.
BCDock access is currently invitation-only. New users follow this path:
- bcdock auth join-waitlist (request access)
- Wait for your invite (reviewed within 48 hours)
- bcdock auth signup --invite-code CODE --email you@example.com (activate account)
- bcdock auth login --email you@example.com (OTP login)
Returning users: bcdock auth login --email you@example.com
For CI/CD or agent use, store an API key directly:
bcdock auth set-token
See 'bcdock help authentication' for detailed token-source precedence and CI/CD best practices.
Exit codes: 0 ok 1 general error
Examples¶
bcdock auth login --email you@example.com
bcdock auth whoami
bcdock auth set-token bdk_xxxxxxxxxxxxxxxxxxxx
bcdock auth logout
Options¶
Options inherited from parent commands¶
--api-url string API base URL (env: BCDOCK_API_URL)
--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 (env: BCDOCK_TOKEN)
SEE ALSO¶
- bcdock - BCDock CLI - manage Business Central environments
- bcdock auth join-waitlist - Submit a waitlist entry to request access to BCDock
- bcdock auth login - Log in via email OTP (returning users; account must already exist)
- bcdock auth logout - Clear stored credentials
- bcdock auth set-token - Store an API token persistently
- bcdock auth signup - Activate your BCDock account using an invite code
- bcdock auth whoami - Show the currently authenticated user