The command that you use to update a certificate authority depends on whether it is a root certificate authority or a subordinate certificate authority. Either use the oci certs-mgmt certificate-authority update-root-ca-by-generating-config-details command and required parameters or the oci certs-mgmt certificate-authority update-subordinate-ca-issued-by-internal-ca command and required parameters to edit a certificate authority's description.
You can also update a certificate authority's rules and revocation configuration. For more information about updating a certificate authority's rules, see Editing Certificate Authority Rules. For information about updating a certificate authority's revocation configuration, see Editing a Certificate Revocation List.
To edit the description of a root certificate authority, open a command prompt and run oci certs-mgmt certificate-authority update-root-ca-by-generating-config-details:
oci certs-mgmt certificate-authority update-root-ca-by-generating-config-details --certificate-authority-id <CA_OCID> --description <new_description> [OPTIONS]
For example:
oci certs-mgmt certificate-authority update-root-ca-by-generating-config-details --certificate-authority-id ocid1.certificateauthority.oc1.<region>.<unique_id> --description "my root CA"
To edit the description of a subordinate certificate authority, open a command prompt and run oci certs-mgmt certificate-authority update-subordinate-ca-issued-by-internal-ca:
oci certs-mgmt certificate-authority update-subordinate-ca-issued-by-internal-ca --certificate-authority-id <CA_OCID> --description <new_description> [OPTIONS]
For example:
oci certs-mgmt certificate-authority update-subordinate-ca-issued-by-internal-ca --certificate-authority-id ocid1.certificateauthority.oc1.<region>.<unique_id> --description "my subordinate CA"
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.