Chapter 8. Using OpenStack With the Command Line Interface

8.1. Authenticating with the Identity service

As part of the installation process, PackStack automatically creates a user account for the Identity service with the role admin, which has permissions to administer the system. This user requires a password, which you are prompted to provide. This password is stored in /root/keystonerc_admin along with other required environmental variables. In a multi-host installation, /root/keystonerc_admin only exists in the CONFIG_OSCLIENT_HOST host.
Some administrative actions may require you to authenticate with the Identity service (for example, creating another user account in the Identity service). You can do this by adding the required parameters to every command, but it is easier to apply the required environmental variables provided by /root/keystonerc_admin. To do so, run the source command, which essentially provides these parameters to ensure that later commands work. Run the following command as root:
# source ~/keystonerc_admin