quorum token-sign delete - AWS CloudHSM

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

quorum token-sign delete

使用 CloudHSM CLI 中的 quorum token-sign delete 命令删除仲裁授权服务的一个或多个令牌。

用户类型

以下用户均可运行此命令。

  • Admin

语法

aws-cloudhsm > help quorum token-sign delete Delete one or more Quorum Tokens Usage: quorum token-sign delete --scope <SCOPE> 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 --scope <SCOPE> Scope of which token(s) will be deleted Possible values: - user: Deletes all token(s) of currently logged in user - all: Deletes all token(s) on the HSM -h, --help Print help (see a summary with '-h')

示例

下面的示例显示了如何使用 CloudHSM CLI 中的 quorum token-sign delete 命令删除仲裁授权服务的一个或多个令牌。

例 :删除仲裁授权服务的一个或多个令牌
aws-cloudhsm > quorum token-sign delete --scope all { "error_code": 0, "data": "Deletion of quorum token(s) successful" }

参数

<CLUSTER_ID>

要运行此操作的集群的 ID。

必需:如果已配置多个集群。

<SCOPE>

AWS CloudHSM 集群中将删除令牌的范围。

有效值

  • 用户:仅用于删除已登录用户所拥有的令牌。

  • 全部:用于删除 AWS CloudHSM 集群中的所有令牌。

相关 主题