Get the token timeout period using CloudHSM CLI - AWS CloudHSM

Get the token timeout period using CloudHSM CLI

Use the quorum token-sign list-timeouts command in CloudHSM CLI to obtain the token timeout period in seconds for all token types.

User type

The following users can run this command.

  • All users. You do not need to be logged in to run this command.

Syntax

aws-cloudhsm > help quorum token-sign list-timeouts List timeout durations in seconds for token validity Usage: quorum token-sign list-timeouts 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

Example

aws-cloudhsm > quorum token-sign list-timeouts { "error_code": 0, "data": { "generated": 600, "approved": 600 } }

The output includes the following:

  • generated: Timeout period in seconds for a generated token to be approved.

  • approved: Timeout period in seconds for an approved token to be used to execute a quorum authorized operation.

Related topics