Moving a Certificate Authority
Move a certificate authority (CA) from one compartment to another.
-
On the Certificate Authorities list page, select the name of the CA that you want to move. If you need help finding the list page, see Listing Certificate Authorities.
To find a CA in a different compartment, under List scope, select a different compartment.
- Select Move resource.
- Under Destination compartment, select the destination compartment from the list.
- When you're ready, select Move Resource.
If alarms are monitoring the CA, update the alarms to reference the new compartment. For more information, see Updating an Alarm After Moving a Resource.
-
On the Certificate Authorities list page, select the name of the CA that you want to move. If you need help finding the list page, see Listing Certificate Authorities.
Use the oci certs-mgmt certificate-authority change-compartment command and required parameters to move a CA from one compartment to another:
Commandoci certs-mgmt certificate-authority change-compartment --certificate-authority-id <CA_OCID> --compartment-id <new_compartment_OCID>
For example:
oci certs-mgmt certificate-authority change-compartment --certificate-authority-id ocid1.certificateauthority.oc1.<region>.<unique_id> --compartment-id ocid1.compartment.oc1..<unique_id>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ChangeCertificateAuthorityCompartment operation to move a CA from one compartment to another.