Data Source: oci_certificates_management_certificate_version
This data source provides details about a specific Certificate Version resource in Oracle Cloud Infrastructure Certificates Management service.
Gets details about the specified version of a certificate.
Example Usage
data "oci_certificates_management_certificate_version" "test_certificate_version" {
#Required
certificate_id = oci_certificates_management_certificate.test_certificate.id
certificate_version_number = var.certificate_version_certificate_version_number
}
Argument Reference
The following arguments are supported:
certificate_id
- (Required) The OCID of the certificate.certificate_version_number
- (Required) The version number of the certificate.
Attributes Reference
The following attributes are exported:
certificate_id
- The OCID of the certificate.issuer_ca_version_number
- The version number of the issuing certificate authority (CA).revocation_status
- The current revocation status of the entity.revocation_reason
- The reason the certificate or certificate authority (CA) was revoked.time_of_revocation
- The time when the entity was revoked, expressed in RFC 3339 timestamp format. Example:2019-04-03T21:10:29.600Z
serial_number
- A unique certificate identifier used in certificate revocation tracking, formatted as octets. Example:03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF
stages
- A list of stages of this entity.subject_alternative_names
- A list of subject alternative names.type
- The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported.value
- The subject alternative name.
time_created
- A optional property indicating when the certificate version was created, expressed in RFC 3339 timestamp format. Example:2019-04-03T21:10:29.600Z
time_of_deletion
- An optional property indicating when to delete the certificate version, expressed in RFC 3339 timestamp format. Example:2019-04-03T21:10:29.600Z
validity
- An object that describes a period of time during which an entity is valid. If this is not provided when you create a certificate, the validity of the issuing CA is used.time_of_validity_not_after
- The date on which the certificate validity period ends, expressed in RFC 3339 timestamp format. Example:2019-04-03T21:10:29.600Z
time_of_validity_not_before
- The date on which the certificate validity period begins, expressed in RFC 3339 timestamp format. Example:2019-04-03T21:10:29.600Z
version_name
- The name of the certificate version. When the value is not null, a name is unique across versions of a given certificate.version_number
- The version number of the certificate.