doc/user/content/integrations/cli/reference/config.md
The mz config command manages global configuration parameters for mz.
getGet the value of a configuration parameter.
mz config get <NAME> [options...]
See Global parameters for a description of the available configuration parameters.
| Argument | Environment variables | Description |
|---|---|---|
<NAME> | Required. The name of the configuration parameter to get. |
Get the default profile:
$ mz config get profile
acme-corp
list, lsList all configuration parameters.
mz config {list,ls} [options...]
See Global parameters for a description of the available configuration parameters.
$ mz config list
Name | Value
--------|----------
profile | default
vault | keychain
remove, rmRemove a configuration parameter.
mz config {remove,rm} <NAME> [options...]
See Global parameters for a description of the available configuration parameters.
| Argument | Environment variables | Description |
|---|---|---|
<NAME> | Required. The name of the configuration parameter to remove. |
Remove the vault configuration parameter:
mz config remove vault
setSet a configuration parameter.
mz config set <NAME> <VALUE> [options...]
See Global parameters for a description of the available configuration parameters.
| Argument | Environment variables | Description |
|---|---|---|
<NAME> | Required. The name of the configuration parameter to set. | |
<VALUE> | Required. The value to set the configuration parameter to. |
Set the profile configuration parameter to hooli:
mz config set profile hooli
{{% cli-global-args %}}