跳到主要内容

Profile Commands: profile

Profiles isolate credentials, API hosts, output preferences, and billing confirmation settings for different environments.

Commands

CommandUsageDescription
createbohr profile create <name> [flags]Create or update a profile.
deletebohr profile delete <name> [flags]Delete a profile.
listbohr profile list [flags]List configured profiles.
showbohr profile show <name> [flags]Show a profile without revealing its access key.
usebohr profile use <name> [flags]Set the active profile.

For subcommands inside a command group, run bohr profile <group> --help.

Common parameters

ParameterDescription
--access-key <AccessKey>AccessKey for a new profile; required
--host <url>OpenAPI host, default https://open.bohrium.com
--default-output <format>Default output format, default auto
-p, --profile <name>Use a profile for one command without changing the active profile

Examples

bohr profile list
bohr profile create ci --access-key "<AccessKey>"
bohr profile use ci
bohr auth status --verify --profile ci

Profile creation writes credentials to local configuration. Do not place real AccessKeys in shared scripts or shell history. Deleting a profile is destructive.