Common OpenStack identity tasks
This section outlines a number of common steps to take for a number of common actions using the OpenStack Identity service. This is intended as a quick reference guide only. For more detailed information and explanation of each task, refer to Chapter 3, Keystone – OpenStack Identity Service.
Getting ready
Ensure that you have the OpenStack clients installed, as described in the first recipes of this chapter.
How to do it…
Carry out the following steps to create and modify users and projects in OpenStack:
Creating a new project
Creating a new user in a project is achieved with the following command. For example, to create the project called development
, execute the following command:
openstack project create development
Creating a user
To create a user called developer
, with a password of password123
, carry out the following command:
openstack user create --domain default --password password123 --enable developer
Adding a user to a project
To add a...