Log out of an HSM using CloudHSM CLI
Use the logout command in CloudHSM CLI to log out of each hardware security module (HSM) in an AWS CloudHSM cluster.
User type
The following users can run this command.
-
Admin
-
Crypto user (CU)
Syntax
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
Example
This command logs you out of all HSMs in a cluster.
aws-cloudhsm >
logout
{ "error_code": 0, "data": "Logout successful" }