このコンテンツは選択した言語では利用できません。

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

トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat