本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
使用 Cloud 列出信任锚点 HSM CLI
使用 Cloud HSM CLI 中的cluster mtls list-trust-anchors命令列出所有可用于在客户端和TLS AWS CloudHSM之间相互关联的信任锚。
用户类型
以下用户均可运行此命令。
-
所有用户。您不必登录即可运行此命令。
语法
aws-cloudhsm >
help cluster mtls list-trust-anchors
List all trust anchors for mtls Usage: cluster mtls list-trust-anchors [OPTIONS] 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
示例
在以下示例中,此命令列出了来自的所有已注册的 AWS CloudHSM信任锚。
aws-cloudhsm >
cluster mtls list-trust-anchors
{ "error_code": 0, "data": { "trust_anchors": [ { "certificate-reference": "0x01", "certificate": "
<PEM Encoded Certificate 1>
", "cluster-coverage": "full" }, { "certificate-reference": "0x02", "certificate": "<PEM Encoded Certificate 2>
", "cluster-coverage": "full" } ] } }
参数
<CLUSTER_ID>
-
要运行此操作的集群的 ID。
必需:如果已配置多个集群。