命令语法 opensatck role show 角色名 样例 openstack role show admin
首先查看角色列表
[root@controller ~]# openstack role list | |
---|---|
ID | Name |
2e227c837d0741c0b5c854f82a0a1cae | admin |
32c153c3ecfd4bc0ad425f796b5acf11 | myrole |
576f58a9b30b43ca9fb69ddfc48484a7 | member |
84268da464474db6acf643e6ee724e1d | reader |
查看角色admin详细信息
[root@controller ~]# openstack role show admin | |
---|---|
Field | Value |
domain_id | None |
id | 2e227c837d0741c0b5c854f82a0a1cae |
name | admin |
查看角色reader详细信息
[root@controller ~]# openstack role show reader | |
---|---|
Field | Value |
domain_id | None |
id | 84268da464474db6acf643e6ee724e1d |
name | reader |