Config
View and manage configuration values.
Synopsis
View and manage configuration values.
Carbon loads configuration files from your home directory, then merges it with a configuration file in the current directory (if it exists). This should allow you the flexibility you need.
Configuration keys
- carbon.dir.projects
- carbon.dir.instance
- carbon.dir.deployments
- carbon.dir.packer
- carbon.dir.images
- carbon.dir.terraform
- carbon.providers.vsphere.enabled
- carbon.providers.vsphere.auto_discover
- carbon.providers.vsphere.profiles.default.enabled
- carbon.providers.vsphere.profiles.default.username
- carbon.providers.vsphere.profiles.default.password
- carbon.providers.vsphere.profiles.default.password_command
- carbon.providers.vsphere.profiles.default.use_1pass_cli
- carbon.providers.vsphere.profiles.default.url
- carbon.providers.vsphere.profiles.default.environments
- carbon.providers.vsphere
- carbon.providers.aws.enabled
- carbon.providers.aws.auto_discover
- carbon.providers.aws.profiles.default.enabled
- carbon.providers.aws.profiles.default.username
- carbon.providers.aws.profiles.default.password
- carbon.providers.aws.profiles.default.password_command
- carbon.providers.aws.profiles.default.use_1pass_cli
- carbon.providers.aws.profiles.default.url
- carbon.providers.aws.profiles.default.environments
- carbon.providers.aws
- carbon.providers.qemu.enabled
- carbon.providers.qemu.auto_discover
- carbon.providers.qemu.profiles.default.enabled
- carbon.providers.qemu.profiles.default.username
- carbon.providers.qemu.profiles.default.password
- carbon.providers.qemu.profiles.default.password_command
- carbon.providers.qemu.profiles.default.use_1pass_cli
- carbon.providers.qemu.profiles.default.url
- carbon.providers.qemu.profiles.default.environments
- carbon.providers.qemu
- carbon.providers.virtualbox.enabled
- carbon.providers.virtualbox.auto_discover
- carbon.providers.virtualbox.profiles.default.enabled
- carbon.providers.virtualbox.profiles.default.username
- carbon.providers.virtualbox.profiles.default.password
- carbon.providers.virtualbox.profiles.default.password_command
- carbon.providers.virtualbox.profiles.default.use_1pass_cli
- carbon.providers.virtualbox.profiles.default.url
- carbon.providers.virtualbox.profiles.default.environments
- carbon.providers.virtualbox
- carbon.providers.multipass.enabled
- carbon.providers.multipass.auto_discover
- carbon.providers.multipass.profiles.default.enabled
- carbon.providers.multipass.profiles.default.username
- carbon.providers.multipass.profiles.default.password
- carbon.providers.multipass.profiles.default.password_command
- carbon.providers.multipass.profiles.default.use_1pass_cli
- carbon.providers.multipass.profiles.default.url
- carbon.providers.multipass.profiles.default.environments
- carbon.providers.multipass
- carbon.providers.digitalocean.enabled
- carbon.providers.digitalocean.auto_discover
- carbon.providers.digitalocean.profiles.default.enabled
- carbon.providers.digitalocean.profiles.default.username
- carbon.providers.digitalocean.profiles.default.password
- carbon.providers.digitalocean.profiles.default.password_command
- carbon.providers.digitalocean.profiles.default.use_1pass_cli
- carbon.providers.digitalocean.profiles.default.url
- carbon.providers.digitalocean.profiles.default.environments
- carbon.providers.digitalocean
carbon config [flags]
Examples
# Configure digitalocean credentials
carbon config carbon.providers.digitalocean.profiles.default.use_1pass_cli true
carbon config carbon.providers.digitalocean.profiles.default.password "op://Private/some path/api_key"
# Set a default project directory
carbon config carbon.dir.instance ~/my/path/haxors
Options
-h, --help help for config
-r, --remove-reset remove key from the config or reset to default
-s, --save save the current configuration
-k, --sub-keys display only the sub-keys
Options inherited from parent commands
--config string config file (default is $HOME/carbon.yaml)
--debug Debug mode
-j, --json Output in JSON
SEE ALSO
- carbon - Carbon - Infrastructure automation for offensive operations.