MyNixOS website logo
option

programs.openstackclient.cloudsSettings

Whole-file configuration for the OpenStack client, including clouds, cache, and client settings.

Do not include passwords, tokens, or application credential secrets here, as they will be publicly readable in the Nix store. Use the runtime environment or an externally managed secure.yaml file. Configuration written to $XDG_CONFIG_HOME/openstack/clouds.yaml. See https://docs.openstack.org/python-openstackclient/latest/configuration/index.html#clouds-yaml.

Declarations
Type
attribute set of (YAML 1.1 value or (open submodule of (YAML 1.1 value)))
Default
{ }
Example
{
  clouds = {
    my-infra = {
      auth = {
        project_id = "0123456789abcdef0123456789abcdef";
        username = "openstack";
      };
      cloud = "example-cloud";
      interface = "internal";
      region_name = "XXX";
    };
  };
}