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.
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.
export OS_...=... lines of an openrc file, as Horizon
writes it (Project > API Access > Download OpenStack RC File). The
password prompt of that file is not run: type the password in the
dialog.clouds.yaml of the openstack CLI, and the
secure.yaml next to it (or where the CLI looks for it) for
the secrets. A file holding several clouds opens a list: choose one and
click Import. The profile is named after the cloud.
auth_type, region_name (or the first of
regions), interface, cacert and
verify: false are read too. A cloud that only names a
vendor profile (profile: ovh) comes without its auth URL:
type it.OS_*
variables of the shell OSM was started from. When OS_CLOUD
is set and OS_AUTH_URL is not, it reads that cloud of
clouds.yaml instead, exactly as the CLI does.
osm --env does the same at start and connects at once.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.
The password, application credential secret or token stays in memory only, unless you ask OSM to keep it:
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.
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.
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.
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.
OSM takes its proxy from the environment, as curl and the CLI do:
https_proxy / HTTPS_PROXY for https
endpoints, http_proxy / HTTP_PROXY for http
ones, written http://[user:pass@]host:port. Characters of
the user or password that a URL reserves are percent-encoded
(@ is %40, : is
%3A).no_proxy / NO_PROXY: hosts reached
directly (names, .domain suffixes, IP addresses, or
*).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.