Quick Start
First run
On first run, bctl asks for your Britive tenant name and opens your browser for SSO. After that, bctl always opens straight to the profile picker. Select a profile, press enter, and credentials are in ~/.aws/credentials.
Common workflows
Check out a profile by name
Substring matches work too -- bctl checkout admin-prod, bctl checkout admin, and bctl checkout prod all resolve to the same profile when there's only one match. If multiple profiles match, the picker opens pre-filtered.
Check out and update kubeconfig in one step
bctl checks out AWS credentials and runs aws eks update-kubeconfig for every cluster on the profile. See the EKS Guide for setup details.
Export credentials to your shell
The -o env output mode prints export VAR=value lines instead of writing to ~/.aws/credentials. Useful for one-off shell sessions, scripts, or CI.
Use as an AWS credential_process
Add this to ~/.aws/config:
Now aws --profile aws-admin-prod ... invokes bctl transparently whenever credentials are needed. No manual checkout step.
Next
- Sessions & caching explains how bctl re-triggers SSO automatically when your Britive session expires and skips redundant Britive API calls when credentials are still fresh
- Commands is the full reference for every subcommand
- Configuration covers the config file and environment variables