Chapter 66. token

This chapter describes the commands under the token command.

66.1. token issue

Issue new token

Usage:

openstack token issue [-h] [-f {json,shell,table,value,yaml}]
                             [-c COLUMN] [--max-width <integer>] [--fit-width]
                             [--print-empty] [--noindent] [--prefix PREFIX]

Table 66.1. Table Formatter

ValueSummary

--print-empty

Print empty table if there is no data to show.

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

Table 66.2. Output Formatters

ValueSummary

output formatter options-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. Optional Arguments

ValueSummary

-h, --help

Show this help message and exit

Table 66.5. Shell Formatter

ValueSummary

a format a UNIX shell can parse (variable="value")--prefix PREFIX

Add a prefix to all variable names

66.2. token revoke

Revoke existing token

Usage:

openstack token revoke [-h] <token>

Table 66.6. Positional Arguments

ValueSummary

<token>

Token to be deleted

Table 66.7. Optional Arguments

ValueSummary

-h, --help

Show this help message and exit