Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The traditional way of authenticating with the openstack client is to use a username and password which are set as an environment variable. Some of us are not too keen of having clear-text passwords lying around, and this article are thus presenting a way to authenticate to openstack without having the password as clear-text.

Note
titleOpenstack-command only

This authentication approach only works with the new "openstack" client. The old project-specific clients (the "nova", "neutron", "glance" etc .) does not support token-based auth.

 

The simple approach

The simplest approach to using the command-line clients without having the password stored on your client in clear-text is to use the following modified openrc file:

...