- OpenStack Cloud Computing Cookbook(Fourth Edition)
- Kevin Jackson Cody Bunch Egle Sigler James Denton
- 242字
- 2021-07-02 16:25:06
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 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
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
To add a user with the _member_
role (regular user) to the development
project, carry out the following command:
openstack role add --project development --user developer _member_
As an administrator, you have the ability to alter someone's password. To do this for the developer
user, carry out the following command:
openstack user set --password cookbook4 developer
- 企業級Java EE架構設計精深實踐
- C語言程序設計同步訓練與上機指導(第三版)
- Python算法指南:程序員經典算法分析與實現
- 青少年信息學競賽
- 寫給程序員的Python教程
- 精通MySQL 8(視頻教學版)
- Python自然語言理解:自然語言理解系統開發與應用實戰
- Learning Kotlin by building Android Applications
- 計算語言學導論
- ASP.NET開發寶典
- Python Social Media Analytics
- Drupal 8 Development Cookbook(Second Edition)
- C語言從入門到精通(視頻實戰版)
- Socket.IO Cookbook
- Scala編程(第4版)