Skip to main content

鍵ペアプロファイルを一覧表示または説明します。

要件

  • 鍵ペアプロファイルの使用は、アカウントレベルでのコントロールです。

  • アカウント管理者は、他のユーザーが鍵ペアプロファイルを使用することを許可または禁止することができます。

  • このフローは、鍵ペア生成の要件として鍵ペアプロファイルを有効にしている場合にのみ使用できます。

  • 鍵ペアプロファイルを有効にしていない場合は、生成時にエイリアスとアルゴリズムを指定する必要があります。

コマンド

鍵ペアプロファイルのコマンドは、以下のように始まります。

smctl keypair profile

or

smctl kp profile

or

smctl keypair profiles

or

smctl keypair keypairprofile

or

smctl keypair keyprofiles

サブコマンド

鍵ペアプロファイルコマンドは、これらのサブコマンドをサポートしています。

表 1. 鍵ペアプロファイルの一覧表示または説明のためのサブコマンド

ショートカット

サブコマンド

説明

desc

describe

鍵ペアプロファイルIDの詳細を取得します。

ls

list

鍵ペアプロファイルを一覧を表示します。


鍵ペアプロファイルを説明する

鍵ペアプロファイルの説明のコマンドは、以下のように始まります。

smctl keypair profile describe

or

smctl kp profile desc

フラグ

鍵ペアプロファイルの説明コマンドは、これらのフラグをサポートしています。

表 2. 鍵ペアプロファイルの一覧表示と説明のためのフラグ

ショートカット

フラグ

説明

--account-id string

ユーザーのアカウントID。

形式:

--account-id="<value>"

-h

--help

鍵ペアプロファイルに関するヘルプ。


例

説明: 指定された鍵ペアIDの鍵ペアプロファイルを記述・説明します。

コマンド:

smctl keypair profiles describe <keypair profile id> <account id string>

コマンドの例:

smctl keypair profiles describe a609c6e6-fc89-48ff-a071-1d7001580452

鍵ペアプロファイルを一覧表示する

鍵ペアプロファイルの一覧表示のコマンドは、以下のように始まります。

smctl keypair profile list

or

smctl kp profile ls

フラグ

鍵ペアプロファイルの一覧表示のコマンドは、これらのフラグをサポートしています。

表 3. 鍵ペアプロファイルの一覧表示と説明のためのフラグ

ショートカット

フラグ

説明

--account-id string

ユーザーのアカウントID。

形式:

--account-id="<value>"

-h

--help

鍵ペアプロファイルに関するヘルプ。


例

説明:

コマンド:

smctl keypair profiles list -–filter name=<keypair profile alias>

コマンドの例:

smctl keypair profiles list -–filter name=keypair-profile-name