- 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
- SQL Server 從入門到項目實踐(超值版)
- 一步一步學Spring Boot 2:微服務項目實戰(zhàn)
- 微信公眾平臺與小程序開發(fā):從零搭建整套系統(tǒng)
- 技術(shù)領(lǐng)導力:程序員如何才能帶團隊
- 算法精粹:經(jīng)典計算機科學問題的Python實現(xiàn)
- 從0到1:HTML+CSS快速上手
- Mastering Swift 2
- Selenium Testing Tools Cookbook(Second Edition)
- ArcGIS for Desktop Cookbook
- MINECRAFT編程:使用Python語言玩轉(zhuǎn)我的世界
- Deep Learning with R Cookbook
- Unity Character Animation with Mecanim
- Android Studio開發(fā)實戰(zhàn):從零基礎(chǔ)到App上線 (移動開發(fā)叢書)
- Mastering OpenStack
- Python趣味創(chuàng)意編程