Chapter 64. request
This chapter describes the commands under the request command.
64.1. request token authorize
Authorize a request token
Usage:
openstack request token authorize [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] --request-key
<request-key> --role <role>
Table 64.1. Command arguments
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --request-key <request-key> | Request token to authorize (id only) (required) |
| --role <role> | Roles to authorize (name or id) (repeat option to set multiple values) (required) |
Table 64.2. 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 64.3. JSON formatter options
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
Table 64.4. Shell formatter options
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
Table 64.5. 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. |
64.2. request token create
Create a request token
Usage:
openstack request token create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] --consumer-key
<consumer-key> --consumer-secret
<consumer-secret> --project <project>
[--domain <domain>]
Table 64.6. Command arguments
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --consumer-key <consumer-key> | Consumer key (required) |
| --consumer-secret <consumer-secret> | Consumer secret (required) |
| --project <project> | Project that consumer wants to access (name or id) (required) |
| --domain <domain> | Domain owning <project> (name or id) |
Table 64.7. 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 64.8. JSON formatter options
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
Table 64.9. Shell formatter options
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
Table 64.10. 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. |