OpenStack "Kilo" entry "Keystone" Seven: Create tenant, User, Role _ "opens"

Source: Internet
Author: User
Guide to Questions

1. Think about the premise of creating an administrator tenant. Whether the administrator tenant can be created directly.
2. Understand the relationship between tenant, user and role by operation.
3. How to implement add roles to tenant, user.





The code is unreadable and can be read from right to left.

1. Create administrator tenant, user, role

A. Creating an admin tenant
[Bash Shell] Plain text view copy code? 1 OpenStack Project Create--description "admin Project" admin


B. Creating an Admin user
[Bash Shell] Plain text view copy code? 1 OpenStack User Create--password-prompt Admin
User Password:
Repeat User Password:


C. Creating the Admin role
[Bash Shell] Plain text view copy code? 1 OpenStack Role Create admin

D. Add Admin role to admin tenant and User:
[Bash Shell] Plain text view copy code? 1 OpenStack role Add--project admin--user admin Admin




2. Create a service tenant

[Bash Shell] Plain text view copy code? 1 OpenStack Project Create--description Service project Service

3. Create a non-admin demo tenant

A. Creating demo tenants
[Bash Shell] Plain text view copy code? 1 OpenStack Project Create--description "Demo Project" Demo

B. Creating demo users
[Bash Shell] Plain text view copy code? 1 OpenStack User Create--password-prompt Demo
User Password:
Repeat User Password:



C. Create user role:
[Bash Shell] Plain text view copy code? 1 OpenStack Role Create user

D. Add user roles to demo tenant and User:
[Bash Shell] Plain text view copy code? 1 OpenStack role Add--project demo--user Demo user


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.