身份提供者¶
一个身份提供者被身份服务的 OS-FEDERATION 扩展使用。它被联合身份验证协议和映射使用。适用于 Identity v3。
身份提供者创建¶
创建新的身份提供者
openstack identity provider create
[--remote-id <remote-id> | --remote-id-file <file-name>]
[--description <description>]
[--domain <domain>]
[--authorization-ttl <authorization-ttl>]
[--enable | --disable]
<name>
- --remote-id <remote-id>¶
与身份提供者关联的远程 ID(重复该选项以提供多个值)
- --remote-id-file <file-name>¶
包含与身份提供者关联的多个远程 ID 的文件名,每行一个
- --description <description>¶
新的身份提供者描述
- --domain <domain>¶
与身份提供者关联的域。如果未指定,将自动创建一个域。(名称或 ID)
- --authorization-ttl <authorization-ttl>¶
保留通过此身份提供者进行身份验证的用户的角色分配的时间。如果未提供,将使用身份服务中配置的全局默认值。自 Identity API 版本 3.14 (Ussuri) 起可用。
- --enable¶
启用身份提供者(默认)
- --disable¶
禁用身份提供者
- name¶
新的身份提供者名称(必须唯一)
身份提供者删除¶
删除身份提供者
openstack identity provider delete
<identity-provider>
[<identity-provider> ...]
- identity-provider¶
要删除的身份提供者
身份提供者列表¶
列出身份提供者
openstack identity provider list
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--id <id>]
[--enabled]
- --sort-column SORT_COLUMN¶
指定要对数据进行排序的列(首先指定的列具有优先级,不存在的列将被忽略),可以重复
- --sort-ascending¶
按升序对列进行排序
- --sort-descending¶
按降序对列进行排序
- --id <id>¶
身份提供者的 ID 属性
- --enabled¶
将返回启用的身份提供者
身份提供者设置¶
设置身份提供者属性
openstack identity provider set
[--description <description>]
[--remote-id <remote-id> | --remote-id-file <file-name>]
[--authorization-ttl <authorization-ttl>]
[--enable | --disable]
<identity-provider>
- --description <description>¶
设置身份提供者描述
- --remote-id <remote-id>¶
与身份提供者关联的远程 ID(重复该选项以提供多个值)
- --remote-id-file <file-name>¶
包含与身份提供者关联的多个远程 ID 的文件名,每行一个
- --authorization-ttl <authorization-ttl>¶
保留通过此身份提供者进行身份验证的用户的角色分配的时间。自 Identity API 版本 3.14 (Ussuri) 起可用。
- --enable¶
启用身份提供者
- --disable¶
禁用身份提供者
- identity-provider¶
要修改的身份提供者
身份提供者显示¶
显示身份提供者详细信息
openstack identity provider show <identity-provider>
- identity-provider¶
要显示的身份提供者