Chapter 66. request

This chapter describes the commands under the request command.

66.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 66.1. Optional Arguments

ValueSummary

-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 66.2. Output Formatters

ValueSummary

-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 66.3. JSON Formatter

ValueSummary

--noindent

Whether to disable indenting the json

Table 66.4. Shell Formatter

ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Table 66.5. Table Formatter

ValueSummary

--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.

66.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 66.6. Optional Arguments

ValueSummary

-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 66.7. Output Formatters

ValueSummary

-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 66.8. JSON Formatter

ValueSummary

--noindent

Whether to disable indenting the json

Table 66.9. Shell Formatter

ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Table 66.10. Table Formatter

ValueSummary

--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.