Chapter 35. identity
This chapter describes the commands under the identity command.
35.1. identity provider create Copy linkLink copied to clipboard!
Create new identity provider
Usage:
openstack identity provider create [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
[--remote-id <remote-id> | --remote-id-file <file-name>]
[--description <description>]
[--domain <domain>]
[--authorization-ttl <authorization-ttl>]
[--enable | --disable]
<name>
| Value | Summary |
|---|---|
| <name> | New identity provider name (must be unique) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --remote-id <remote-id> | Remote ids to associate with the identity provider (repeat option to provide multiple values) |
| --remote-id-file <file-name> | Name of a file that contains many remote ids to associate with the identity provider, one per line |
| --description <description> | New identity provider description |
| --domain <domain> | Domain to associate with the identity provider. if not specified, a domain will be created automatically. (Name or ID) |
| --authorization-ttl <authorization-ttl> | Time to keep the role assignments for users authenticating via this identity provider. When not provided, global default configured in the Identity service will be used. Available since Identity API version 3.14 (Ussuri). |
| --enable | Enable identity provider (default) |
| --disable | Disable the identity provider |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
35.2. identity provider delete Copy linkLink copied to clipboard!
Delete identity provider(s)
Usage:
openstack identity provider delete [-h]
<identity-provider>
[<identity-provider> ...]
| Value | Summary |
|---|---|
| <identity-provider> | Identity provider(s) to delete |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
35.3. identity provider list Copy linkLink copied to clipboard!
List identity providers
Usage:
openstack identity provider list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--id <id>] [--enabled]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --id <id> | The identity providers’ id attribute |
| --enabled | The identity providers that are enabled will be returned |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
35.4. identity provider set Copy linkLink copied to clipboard!
Set identity provider properties
Usage:
openstack identity provider set [-h] [--description <description>]
[--remote-id <remote-id> | --remote-id-file <file-name>]
[--authorization-ttl <authorization-ttl>]
[--enable | --disable]
<identity-provider>
| Value | Summary |
|---|---|
| <identity-provider> | Identity provider to modify |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --description <description> | Set identity provider description |
| --remote-id <remote-id> | Remote ids to associate with the identity provider (repeat option to provide multiple values) |
| --remote-id-file <file-name> | Name of a file that contains many remote ids to associate with the identity provider, one per line |
| --authorization-ttl <authorization-ttl> | Time to keep the role assignments for users authenticating via this identity provider. Available since Identity API version 3.14 (Ussuri). |
| --enable | Enable the identity provider |
| --disable | Disable the identity provider |
35.5. identity provider show Copy linkLink copied to clipboard!
Display identity provider details
Usage:
openstack identity provider show [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<identity-provider>
| Value | Summary |
|---|---|
| <identity-provider> | Identity provider to display |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |