Command config

Usage: juju config [options] <application name> [--reset <key[,key]>] [<attribute-key>][=<value>] ...]

Summary:

Gets, sets, or resets configuration for a deployed application.

Options:

-B, --no-browser-login (= false)

Do not use web browser for authentication

--file (= )

path to yaml-formatted application config

--format (= yaml)

Specify output format (json|yaml)

-m, --model (= "")

Model to operate in. Accepts [<controller name>:]<model name>

-o, --output (= "")

Specify an output file

--reset (= )

Reset the provided comma delimited keys

Details:

By default, all configuration (keys, values, metadata) for the application are displayed if a key is not specified.

Output includes the name of the charm used to deploy the application and a listing of the application-specific configuration settings.

See juju status for application names.

When only one configuration value is desired, the command will ignore --format option and will output the value unformatted. This is provided to support scripts where the output of juju config can be used as an input to an expression or a function.

Examples:

   juju config apache2
    juju config --format=json apache2
    juju config mysql dataset-size
    juju config mysql --reset dataset-size,backup_dir
    juju config apache2 --file path/to/config.yaml
    juju config mysql dataset-size=80% backup_dir=/vol1/mysql/backups
    juju config apache2 --model mymodel --file /home/ubuntu/mysql.yaml

See also:

deploy, status