quorum token-sign set-timeout - AWS CloudHSM

quorum token-sign set-timeout

Use the quorum token-sign set-timeout command in CloudHSM CLI to set the token timeout period in seconds for each token type.

User type

The following users can run this command.

  • Admin

Syntax

aws-cloudhsm > help quorum token-sign set-timeout Set timeout duration in seconds for token validity Usage: quorum token-sign set-timeout <--generated <GENERATED> |--approved <APPROVED>> 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 --generated <GENERATED> Timeout period in seconds for a generated (non-approved) token to be approved --approved <APPROVED> Timeout period in seconds for an approved token to be used to execute a quorum operation -h, --help Print help (see a summary with '-h')

Example

The following examples show how to use the quorum token-sign set-timeout command to set the token timeout period.

aws-cloudhsm > quorum token-sign set-timeout --generated 900 { "error_code": 0, "data": "Set token timeout successful" }

Related topics