Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

Using the OpenStack CLI

Once OpenStack has been deployed you can interact with your cloud via the CLI by using the standard openstack client commands. The CLI client is provided as part of the openstack snap.

The client recognises the environment variables stored in generated credential files (cloud init files). Source an init file before using the client:

source <init-file>

For help with command syntax see the documentation for the python-openstackclient package.

Unprivileged vs admin user credentials

Unprivileged user credentials are generated at cloud-configuration time with the sunbeam configure command.

Admin user credentials are generated with the sunbeam openrc command. Here, the file admin-openrc is chosen as init file:

sunbeam openrc > admin-openrc

Last updated 11 months ago. Help improve this document in the forum.