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

Chapter 25. ec2


This chapter describes the commands under the ec2 command.

25.1. ec2 credentials create

Create EC2 credentials

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

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

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

Expand
Table 25.3. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 25.4. Optional Arguments
ValueSummary

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

Expand
Table 25.5. Shell Formatter
ValueSummary

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

Add a prefix to all variable names

25.2. ec2 credentials delete

Delete EC2 credentials

Usage:

openstack ec2 credentials delete [-h] [--user <user>]
                                        <access-key> [<access-key> ...]
Copy to Clipboard Toggle word wrap

Expand
Table 25.6. Positional Arguments
ValueSummary

<access-key>

Credentials access key(s)

Expand
Table 25.7. Optional Arguments
ValueSummary

--user <user>

Delete credentials for user (name or id)

-h, --help

Show this help message and exit

25.3. ec2 credentials list

List EC2 credentials

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

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

Expand
Table 25.9. CSV Formatter
ValueSummary

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

When to include quotes, defaults to nonnumeric

Expand
Table 25.10. Output Formatters
ValueSummary

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

Expand
Table 25.11. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 25.12. Optional Arguments
ValueSummary

--user <user>

Filter list by user (name or id)

-h, --help

Show this help message and exit

25.4. ec2 credentials show

Display EC2 credentials details

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

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

Expand
Table 25.14. Positional Arguments
ValueSummary

<access-key>

Credentials access key

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

Expand
Table 25.16. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 25.17. Optional Arguments
ValueSummary

--user <user>

Show credentials for user (name or id)

-h, --help

Show this help message and exit

Expand
Table 25.18. Shell Formatter
ValueSummary

a format a UNIX shell can parse (variable="value")--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