Skip to content

Configuration

Configuration

Two ways possible to configure your CLI.

Configuration File

On the first try, a config file locate in your home directory, under the following path .cav/config.yaml will be generated.

> cav
Configuration file created in /root/.cav/config.yaml
Please fill it with your credentials and re-run the command.

You can set your credentials like this:

cloudavenue:
    username: "yourUserName"
    password: "YourStrongPassword"
    org: "cav01exxxxxxxxxx"
    url: ""
    debug: false

Environment Variables

Credentials can be provided by using the CLOUDAVENUE_ORG, CLOUDAVENUE_USERNAME, and CLOUDAVENUE_PASSWORD environment variables, respectively. Other environnement variables related to List of Environment Variables can be configured.

For example:

export CLOUDAVENUE_ORG="my-org"
export CLOUDAVENUE_USERNAME="my-user"
export CLOUDAVENUE_PASSWORD="my-password"

Warning

If all variables are set, the CLI override the file configuration to use credentials setted in variables.