Chapter 9. application
This chapter describes the commands under the application command.
9.1. application credential create
Create new application credential
Usage:
openstack application credential create [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
[--secret <secret>]
[--role <role>]
[--expiration <expiration>]
[--description <description>]
[--unrestricted] [--restricted]
<name>
Table 9.1. Positional arguments
| Value | Summary |
|---|---|
| <name> | Name of the application credential |
Table 9.2. Command arguments
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --secret <secret> | Secret to use for authentication (if not provided, one will be generated) |
| --role <role> | Roles to authorize (name or id) (repeat option to set multiple values) |
| --expiration <expiration> | Sets an expiration date for the application credential, format of YYYY-mm-ddTHH:MM:SS (if not provided, the application credential will not expire) |
| --description <description> | Application credential description |
| --unrestricted | Enable application credential to create and delete other application credentials and trusts (this is potentially dangerous behavior and is disabled by default) |
| --restricted | Prohibit application credential from creating and deleting other application credentials and trusts (this is the default behavior) |
Table 9.3. Output formatter options
| 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 |
Table 9.4. JSON formatter options
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
Table 9.5. Shell formatter options
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
Table 9.6. Table formatter options
| 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. |
9.2. application credential delete
Delete application credentials(s)
Usage:
openstack application credential delete [-h]
<application-credential>
[<application-credential> ...]
Table 9.7. Positional arguments
| Value | Summary |
|---|---|
| <application-credential> | Application credentials(s) to delete (name or id) |
Table 9.8. Command arguments
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
9.3. application credential list
List application credentials
Usage:
openstack application credential 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]
[--user <user>]
[--user-domain <user-domain>]
Table 9.9. Command arguments
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --user <user> | User whose application credentials to list (name or ID) |
| --user-domain <user-domain> | Domain the user belongs to (name or id). this can be used in case collisions between user names exist. |
Table 9.10. Output formatter options
| 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 |
| --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 |
Table 9.11. CSV formatter options
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Table 9.12. JSON formatter options
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
Table 9.13. Table formatter options
| 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. |
9.4. application credential show
Display application credential details
Usage:
openstack application credential show [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
<application-credential>
Table 9.14. Positional arguments
| Value | Summary |
|---|---|
| <application-credential> | Application credential to display (name or id) |
Table 9.15. Command arguments
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
Table 9.16. Output formatter options
| 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 |
Table 9.17. JSON formatter options
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
Table 9.18. Shell formatter options
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
Table 9.19. Table formatter options
| 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. |