Listing HSM Clusters
List all HSM cluster resources contained within the specified compartment.
Open a command prompt and run
hsm-cluster list
to list HSM clusters.oci kms kms-hsm-cluster hsm-cluster list -compartment-id
For example:
oci kms kms-hsm-cluster hsm-cluster list -compartment-id ocid1.compartment.oc1..example1example25qrlpo4agcmothkbgqgmuz2zzum45ibplooqtabwk3zz
For a complete list of parameters and values for CLI commands, see KMS CLI Command Reference.
Run the
ListHsmClusters
operation that uses the KMSHSMCLUSTER API endpoint.Note
Each region uses the KMSHSMCLUSTER API endpoint for HSM cluster operations. For regional endpoints, see the API Endpoints.For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.