

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# CloudHSM CLI で HSM からのログアウトする
<a name="cloudhsm_cli-logout"></a>

CloudHSM CLI の **logout** コマンドを使用して、 AWS CloudHSM クラスター内の各ハードウェアセキュリティモジュール (HSM) からログアウトします。

## ユーザーのタイプ
<a name="chsm-cli-logout-userType"></a>

このコマンドは、次のユーザーが実行できます。
+ 管理者
+ Crypto User (CU)

## Syntax
<a name="chsm-cli-logout-syntax"></a>

```
aws-cloudhsm > help logout
Logout of your cluster

USAGE:
    logout

OPTIONS:
        --cluster-id <CLUSTER_ID> Unique Id to choose which of the clusters in the config file to run the operation against. If not provided, will fall back to the value provided when interactive mode was started, or error
    -h, --help                    Print help information
    -V, --version                 Print version information
```

## 例
<a name="chsm-cli-logout-example"></a>

**Example**  
このコマンドはクラスターの HSM からログアウトします。  

```
aws-cloudhsm > logout
{
  "error_code": 0,
  "data": "Logout successful"
}
```

## 関連トピック
<a name="logout-seeAlso"></a>
+ [CloudHSM CLI の使用開始](cloudhsm_cli-getting-started.md)
+ [クラスターのアクティブ化](activate-cluster.md)