Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 29. ec2


This chapter describes the commands under the ec2 command.

29.1. ec2 credentials create

Usage:

openstack ec2 credentials create [-h]

                                      [-f {json,shell,table,value,yaml}]
                                      [-c COLUMN] [--max-width <integer>]
                                      [--fit-width] [--print-empty]
                                      [--noindent] [--prefix PREFIX]
                                      [--project <project>] [--user <user>]
Copy to Clipboard Toggle word wrap

Create EC2 credentials

Expand
Table 29.1. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--project <project>

Create credentials in project (name or id; default: current authenticated project)

--user <user>

Create credentials for user (name or id; default: current authenticated user)

Expand
Table 29.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

Expand
Table 29.3. 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.

Expand
Table 29.4. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 29.5. shell formatter
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

29.2. ec2 credentials delete

Usage:

openstack ec2 credentials delete [-h] [--user <user>]

                                      <access-key> [<access-key> ...]
Copy to Clipboard Toggle word wrap

Delete EC2 credentials

Expand
Table 29.6. Positional Arguments
ValueSummary

<access-key>

Credentials access key(s)

Expand
Table 29.7. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--user <user>

Delete credentials for user (name or id)

29.3. ec2 credentials list

Usage:

openstack ec2 credentials list [-h] [-f {csv,json,table,value,yaml}]

                                    [-c COLUMN] [--max-width <integer>]
                                    [--fit-width] [--print-empty]
                                    [--noindent]
                                    [--quote {all,minimal,none,nonnumeric}]
                                    [--sort-column SORT_COLUMN]
                                    [--user <user>]
Copy to Clipboard Toggle word wrap

List EC2 credentials

Expand
Table 29.8. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--user <user>

Filter list by user (name or id)

Expand
Table 29.9. Output Formatters
ValueSummary

-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

Expand
Table 29.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.

Expand
Table 29.11. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 29.12. CSV Formatter
ValueSummary

--quote {all,minimal,none,nonnumeric}

when to include quotes, defaults to nonnumeric

29.4. ec2 credentials show

Usage:

openstack ec2 credentials show [-h] [-f {json,shell,table,value,yaml}]

                                    [-c COLUMN] [--max-width <integer>]
                                    [--fit-width] [--print-empty]
                                    [--noindent] [--prefix PREFIX]
                                    [--user <user>]
                                    <access-key>
Copy to Clipboard Toggle word wrap

Display EC2 credentials details

Expand
Table 29.13. Positional Arguments
ValueSummary

<access-key>

Credentials access key

Expand
Table 29.14. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--user <user>

Show credentials for user (name or id)

Expand
Table 29.15. 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

Expand
Table 29.16. 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.

Expand
Table 29.17. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 29.18. shell formatter
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat