Moving an HSM Cluster Resource
Move a HSM cluster resource from one compartment to another.
Open a command prompt and run
change-compartmentto change the compartment of HSM cluster resource.oci kms kms-hsm-cluster hsm-cluster change-compartment -compartment-idFor example:
oci kms kms-hsm-cluster hsm-cluster change-compartment -compartment-id ocid1.compartment.oc1..example1example25qrlpo4agcmothkbgqgmuz2zzum45ibplooqtabwk3zz --hsm-cluster-id ocid1.kmshsmcluster.region1.sea.example1.abzwkljsshsfywmfvqr2vxo3q75ifayb5yxbhj63czq47ft3fpi52zah5pdqFor a complete list of parameters and values for CLI commands, see KMS CLI Command Reference.
Run the
ChangeHsmClusterCompartmentoperation 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.