Listing Certificates
View a list of certificates managed through the Certificates service.
Use the oci certs-mgmt certificate list command and required parameters to list certificates. You can list all certificates or certificates that meet certain criteria. To list certificates in a particular compartment:
oci certs-mgmt certificate list --compartment-id <compartment_OCID>
For example:
oci certs-mgmt certificate list --compartment-id ocid1.compartment.oc1..<unique_id>
Or, to list certificates that match a specific lifecycle state:
oci certs-mgmt certificate list --lifecycle-state <certificate_lifecycle_state>
For example:
oci certs-mgmt certificate list --lifecycle-state ACTIVE
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the ListCertificates operation to list certificates.