Este conteúdo não está disponível no idioma selecionado.
Chapter 25. ec2
This chapter describes the commands under the ec2 command.
25.1. ec2 credentials create Copiar o linkLink copiado para a área de transferência!
Create EC2 credentials
Usage:
| Value | Summary |
|---|---|
| --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 |
| Value | Summary |
|---|---|
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --user <user> | Create credentials for user (name or id; default: current authenticated user) |
| -h, --help | Show this help message and exit |
| --project <project> | Create credentials in project (name or id; default: current authenticated project) |
| Value | Summary |
|---|---|
| a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
25.2. ec2 credentials delete Copiar o linkLink copiado para a área de transferência!
Delete EC2 credentials
Usage:
openstack ec2 credentials delete [-h] [--user <user>]
<access-key> [<access-key> ...]
openstack ec2 credentials delete [-h] [--user <user>]
<access-key> [<access-key> ...]
| Value | Summary |
|---|---|
| <access-key> | Credentials access key(s) |
| Value | Summary |
|---|---|
| --user <user> | Delete credentials for user (name or id) |
| -h, --help | Show this help message and exit |
25.3. ec2 credentials list Copiar o linkLink copiado para a área de transferência!
List EC2 credentials
Usage:
| Value | Summary |
|---|---|
| --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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| output formatter options-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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --user <user> | Filter list by user (name or id) |
| -h, --help | Show this help message and exit |
25.4. ec2 credentials show Copiar o linkLink copiado para a área de transferência!
Display EC2 credentials details
Usage:
| Value | Summary |
|---|---|
| --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 |
| Value | Summary |
|---|---|
| <access-key> | Credentials access key |
| Value | Summary |
|---|---|
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --user <user> | Show credentials for user (name or id) |
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |