Connecting to a Cloud

OpenStackManager User Guide / Connecting to a Cloud

Connecting to a Cloud

Open the connection dialog with Connect… in the toolbar. On the left are your saved profiles and the import buttons; on the right, the fields of the selected profile.

Profiles

A profile holds everything needed to reach one project of one cloud:

Field Meaning (openrc variable)
Profile name the file name of the profile
Auth URL the Keystone v3 address (OS_AUTH_URL), with or without /v3
Auth type Password, Application credential, or Token
Username / User ID who you are (OS_USERNAME / OS_USER_ID)
User domain the domain of the user (OS_USER_DOMAIN_NAME), usually Default
Project name / Project ID the project to work in; the ID wins over the name
Project domain the domain of the project
Region the region to use; empty means the first one of the catalog
Interface public, internal or admin endpoints; public from outside the cloud
CA bundle an extra CA file, for a cloud whose certificate a private CA signed
Do not verify TLS certificates turns certificate checks off for this profile (see below)

Save writes the profile (in profiles/ of the configuration directory, readable by you only). Connect connects with the fields as they are, saved or not. Click a profile in the list to load it; New clears the fields; Delete profile removes the selected one.

Importing

clouds.yaml is looked for in $OS_CLIENT_CONFIG_FILE, the current directory, ~/.config/openstack/ and /etc/openstack/ (on Windows, %LOCALAPPDATA%\OpenStack\openstack\ and %USERPROFILE%\.config\openstack\), as clouds.yaml or clouds.yml.

Secrets

The password, application credential secret or token stays in memory only, unless you ask OSM to keep it:

  1. Tick Store the secret encrypted in the profile.
  2. Type a Master password.
  3. Click Save.

The secret is then stored encrypted (AES-256-GCM, with a key derived from the master password by PBKDF2-SHA256). Next time, load the profile, type the master password and click Unlock. The master password itself is never stored. Secrets never appear in the logs.

Application credentials

An application credential (Identity > Application credentials, or openstack application credential create) lets OSM work without your password, with the roles you chose and an expiry date. Set Auth type to Application credential, fill Credential ID (or name), and put the secret in Credential secret.

Switching project

Once connected, the Project selector of the toolbar lists the projects you are a member of. Choosing one re-authenticates in that project; the views reload. The open consoles and dialogs belonging to the old project close.

Certificates

The cloud’s certificate is checked by default, against the system’s certificate store (on Windows, against the ca-bundle.pem installed with OSM), plus the CA bundle of the profile when one is set. A cloud signed by a private CA needs that CA file. SSL_CERT_FILE replaces the default store, as for other OpenSSL programs.

Do not verify TLS certificates turns the checks off for one profile. Use it only on a test cloud: anyone on the path could then read your token.

Proxies

OSM takes its proxy from the environment, as curl and the CLI do:

HTTPS goes through a CONNECT tunnel, so the certificate of the cloud is still checked end to end. The consoles (ws:// and wss://) use the same proxy, also through CONNECT.