oracle.oci.oci_certificates_management_certificate_authority – Manage a CertificateAuthority resource in Oracle Cloud Infrastructure

Note

This plugin is part of the oracle.oci collection (version 4.14.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install oracle.oci.

To use it in a playbook, specify: oracle.oci.oci_certificates_management_certificate_authority.

New in version 2.9.0: of oracle.oci

Synopsis

  • This module allows the user to create and update a CertificateAuthority resource in Oracle Cloud Infrastructure

  • For state=present, creates a new certificate authority (CA) according to the details of the request.

  • This resource has the following action operations in the oracle.oci.oci_certificates_management_certificate_authority_actions module: cancel_certificate_authority_deletion, change_compartment, schedule_certificate_authority_deletion.

Requirements

The below requirements are needed on the host that executes this module.

Parameters

Parameter Choices/Defaults Comments
api_user
string
The OCID of the user, on whose behalf, OCI APIs are invoked. If not set, then the value of the OCI_USER_ID environment variable, if any, is used. This option is required if the user is not specified through a configuration file (See config_file_location). To get the user's OCID, please refer https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm.
api_user_fingerprint
string
Fingerprint for the key pair being used. If not set, then the value of the OCI_USER_FINGERPRINT environment variable, if any, is used. This option is required if the key fingerprint is not specified through a configuration file (See config_file_location). To get the key pair's fingerprint value please refer https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm.
api_user_key_file
string
Full path and filename of the private key (in PEM format). If not set, then the value of the OCI_USER_KEY_FILE variable, if any, is used. This option is required if the private key is not specified through a configuration file (See config_file_location). If the key is encrypted with a pass-phrase, the api_user_key_pass_phrase option must also be provided.
api_user_key_pass_phrase
string
Passphrase used by the key referenced in api_user_key_file, if it is encrypted. If not set, then the value of the OCI_USER_KEY_PASS_PHRASE variable, if any, is used. This option is required if the key passphrase is not specified through a configuration file (See config_file_location).
auth_purpose
string
    Choices:
  • service_principal
The auth purpose which can be used in conjunction with 'auth_type=instance_principal'. The default auth_purpose for instance_principal is None.
auth_type
string
    Choices:
  • api_key ←
  • instance_principal
  • instance_obo_user
  • resource_principal
The type of authentication to use for making API requests. By default auth_type="api_key" based authentication is performed and the API key (see api_user_key_file) in your config file will be used. If this 'auth_type' module option is not specified, the value of the OCI_ANSIBLE_AUTH_TYPE, if any, is used. Use auth_type="instance_principal" to use instance principal based authentication when running ansible playbooks within an OCI compute instance.
cert_bundle
string
The full path to a CA certificate bundle to be used for SSL verification. This will override the default CA certificate bundle. If not set, then the value of the OCI_ANSIBLE_CERT_BUNDLE variable, if any, is used.
certificate_authority_config
dictionary
Required for create using state=present.
This parameter is updatable.
config_type
string / required
    Choices:
  • ROOT_CA_GENERATED_INTERNALLY
  • SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA
The origin of the CA.
This parameter is updatable.
issuer_certificate_authority_id
string
The OCID of the private CA.
Required when config_type is 'SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA'
signing_algorithm
string
    Choices:
  • SHA256_WITH_RSA
  • SHA384_WITH_RSA
  • SHA512_WITH_RSA
  • SHA256_WITH_ECDSA
  • SHA384_WITH_ECDSA
  • SHA512_WITH_ECDSA
The algorithm used to sign public key certificates that the CA issues.
stage
string
    Choices:
  • CURRENT
  • PENDING
The rotation state of the CA. The default is `PENDING`, meaning that the CA is staged and available for use. A CA version that you mark as `CURRENT` is currently in use, but you don't yet want to rotate it into current, active use. For example, you might create or update a CA and mark its rotation state as `PENDING` if you haven't yet updated the certificate on the target system.
This parameter is updatable.
subject
dictionary
common_name
string / required
Common name or fully-qualified domain name (RDN CN).
Required when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
country
string
Country name (RDN C).
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
distinguished_name_qualifier
string
Distinguished name qualifier(RDN DNQ).
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
domain_component
string
Domain component (RDN DC).
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
generation_qualifier
string
Personal generational qualifier (for example, Sr., Jr. 3rd, or IV).
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
given_name
string
Personal given name (RDN G or GN).
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
initials
string
Personal initials.
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
locality_name
string
Locality (RDN L).
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
organization
string
Organization (RDN O).
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
organizational_unit
string
Organizational unit (RDN OU).
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
pseudonym
string
Subject pseudonym.
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
serial_number
string
Unique subject identifier, which is not the same as the certificate serial number (RDN SERIALNUMBER).
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
state_or_province_name
string
State or province name (RDN ST or S).
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
street
string
Street address (RDN STREET).
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
surname
string
Personal surname (RDN SN).
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
title
string
Title (RDN T or TITLE).
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
user_id
string
User ID (RDN UID).
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
validity
dictionary
time_of_validity_not_after
string / required
The date on which the certificate validity period ends, expressed in RFC 3339 timestamp format. Example: `2019-04-03T21:10:29.600Z`
Required when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
time_of_validity_not_before
string
The date on which the certificate validity period begins, expressed in RFC 3339 timestamp format. Example: `2019-04-03T21:10:29.600Z`
Applicable when config_type is 'ROOT_CA_GENERATED_INTERNALLY'
version_name
string
The name of the CA version. When the value is not null, a name is unique across versions of a given CA.
This parameter is updatable.
certificate_authority_id
string
The OCID of the certificate authority (CA).
Required for update using state=present when environment variable OCI_USE_NAME_AS_IDENTIFIER is not set.

aliases: id
certificate_authority_rules
list / elements=dictionary
A list of rules that control how the CA is used and managed.
This parameter is updatable.
certificate_authority_max_validity_duration
string
A property indicating the maximum validity duration, in days, of subordinate CA's issued by this CA. Expressed in ISO 8601 format.
leaf_certificate_max_validity_duration
string
A property indicating the maximum validity duration, in days, of leaf certificates issued by this CA. Expressed in ISO 8601 format.
rule_type
string / required
    Choices:
  • CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE
The type of rule, whether a renewal rule regarding when to renew the CA or an issuance expiry rule that governs how long the certificates and CAs issued by the CA are valid. (For internal use only) An internal issuance rule defines the number and type of certificates that the CA can issue.
certificate_revocation_list_details
dictionary
This parameter is updatable.
custom_formatted_urls
list / elements=string
Optional CRL access points, expressed using a format where the version number of the issuing CA is inserted wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2.
object_storage_config
dictionary / required
object_storage_bucket_name
string / required
The name of the bucket where the CRL is stored.
object_storage_namespace
string
The tenancy of the bucket where the CRL is stored.
object_storage_object_name_format
string / required
The object name in the bucket where the CRL is stored, expressed using a format where the version number of the issuing CA is inserted as part of the Object Storage object name wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2.
compartment_id
string
The compartment in which you want to create the CA.
Required for create using state=present.
config_file_location
string
Path to configuration file. If not set then the value of the OCI_CONFIG_FILE environment variable, if any, is used. Otherwise, defaults to ~/.oci/config.
config_profile_name
string
The profile to load from the config file referenced by config_file_location. If not set, then the value of the OCI_CONFIG_PROFILE environment variable, if any, is used. Otherwise, defaults to the "DEFAULT" profile in config_file_location.
current_version_number
integer
Makes this version the current version. This property cannot be updated in combination with any other properties.
This parameter is updatable.
defined_tags
dictionary
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace": {"bar-key": "value"}}`
This parameter is updatable.
description
string
A brief description of the CA.
This parameter is updatable.
force_create
boolean
    Choices:
  • no ←
  • yes
Whether to attempt non-idempotent creation of a resource. By default, create resource is an idempotent operation, and doesn't create the resource if it already exists. Setting this option to true, forcefully creates a copy of the resource, even if it already exists.This option is mutually exclusive with key_by.
freeform_tags
dictionary
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
This parameter is updatable.
key_by
list / elements=string
The list of attributes of this resource which should be used to uniquely identify an instance of the resource. By default, all the attributes of a resource are used to uniquely identify a resource.
kms_key_id
string
The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.
Required for create using state=present.
name
string
A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
Required for create using state=present.
Required for update when environment variable OCI_USE_NAME_AS_IDENTIFIER is set.
region
string
The Oracle Cloud Infrastructure region to use for all OCI API requests. If not set, then the value of the OCI_REGION variable, if any, is used. This option is required if the region is not specified through a configuration file (See config_file_location). Please refer to https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm for more information on OCI regions.
state
string
    Choices:
  • present ←
The state of the CertificateAuthority.
Use state=present to create or update a CertificateAuthority.
tenancy
string
OCID of your tenancy. If not set, then the value of the OCI_TENANCY variable, if any, is used. This option is required if the tenancy OCID is not specified through a configuration file (See config_file_location). To get the tenancy OCID, please refer https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm
wait
boolean
    Choices:
  • no
  • yes ←
Whether to wait for create or delete operation to complete.
wait_timeout
integer
Time, in seconds, to wait when wait=yes. Defaults to 1200 for most of the services but some services might have a longer wait timeout.

Examples

- name: Create certificate_authority
  oci_certificates_management_certificate_authority:
    # required
    name: name_example
    compartment_id: "ocid1.compartment.oc1..xxxxxxEXAMPLExxxxxx"
    kms_key_id: "ocid1.kmskey.oc1..xxxxxxEXAMPLExxxxxx"
    certificate_authority_config:
      # required
      subject:
        # required
        common_name: common_name_example

        # optional
        country: country_example
        domain_component: domain_component_example
        distinguished_name_qualifier: distinguished_name_qualifier_example
        generation_qualifier: generation_qualifier_example
        given_name: given_name_example
        initials: initials_example
        locality_name: locality_name_example
        organization: organization_example
        organizational_unit: organizational_unit_example
        pseudonym: pseudonym_example
        serial_number: serial_number_example
        state_or_province_name: state_or_province_name_example
        street: street_example
        surname: surname_example
        title: title_example
        user_id: "ocid1.user.oc1..xxxxxxEXAMPLExxxxxx"
      config_type: ROOT_CA_GENERATED_INTERNALLY

        # optional
      signing_algorithm: SHA256_WITH_RSA
      version_name: version_name_example
      stage: CURRENT
      validity:
        # required
        time_of_validity_not_after: time_of_validity_not_after_example

        # optional
        time_of_validity_not_before: time_of_validity_not_before_example

    # optional
    description: description_example
    certificate_revocation_list_details:
      # required
      object_storage_config:
        # required
        object_storage_bucket_name: object_storage_bucket_name_example
        object_storage_object_name_format: object_storage_object_name_format_example

        # optional
        object_storage_namespace: object_storage_namespace_example

        # optional
      custom_formatted_urls: [ "custom_formatted_urls_example" ]
    freeform_tags: {'Department': 'Finance'}
    defined_tags: {'Operations': {'CostCenter': 'US'}}
    certificate_authority_rules:
    - # required
      rule_type: CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE

      # optional
      leaf_certificate_max_validity_duration: leaf_certificate_max_validity_duration_example
      certificate_authority_max_validity_duration: certificate_authority_max_validity_duration_example

- name: Update certificate_authority
  oci_certificates_management_certificate_authority:
    # required
    certificate_authority_id: "ocid1.certificateauthority.oc1..xxxxxxEXAMPLExxxxxx"

    # optional
    description: description_example
    current_version_number: 56
    certificate_authority_config:
      # required
      subject:
        # required
        common_name: common_name_example

        # optional
        country: country_example
        domain_component: domain_component_example
        distinguished_name_qualifier: distinguished_name_qualifier_example
        generation_qualifier: generation_qualifier_example
        given_name: given_name_example
        initials: initials_example
        locality_name: locality_name_example
        organization: organization_example
        organizational_unit: organizational_unit_example
        pseudonym: pseudonym_example
        serial_number: serial_number_example
        state_or_province_name: state_or_province_name_example
        street: street_example
        surname: surname_example
        title: title_example
        user_id: "ocid1.user.oc1..xxxxxxEXAMPLExxxxxx"
      config_type: ROOT_CA_GENERATED_INTERNALLY

        # optional
      signing_algorithm: SHA256_WITH_RSA
      version_name: version_name_example
      stage: CURRENT
      validity:
        # required
        time_of_validity_not_after: time_of_validity_not_after_example

        # optional
        time_of_validity_not_before: time_of_validity_not_before_example
    certificate_revocation_list_details:
      # required
      object_storage_config:
        # required
        object_storage_bucket_name: object_storage_bucket_name_example
        object_storage_object_name_format: object_storage_object_name_format_example

        # optional
        object_storage_namespace: object_storage_namespace_example

        # optional
      custom_formatted_urls: [ "custom_formatted_urls_example" ]
    freeform_tags: {'Department': 'Finance'}
    defined_tags: {'Operations': {'CostCenter': 'US'}}
    certificate_authority_rules:
    - # required
      rule_type: CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE

      # optional
      leaf_certificate_max_validity_duration: leaf_certificate_max_validity_duration_example
      certificate_authority_max_validity_duration: certificate_authority_max_validity_duration_example

- name: Update certificate_authority using name (when environment variable OCI_USE_NAME_AS_IDENTIFIER is set)
  oci_certificates_management_certificate_authority:
    # required
    name: name_example

    # optional
    description: description_example
    current_version_number: 56
    certificate_authority_config:
      # required
      subject:
        # required
        common_name: common_name_example

        # optional
        country: country_example
        domain_component: domain_component_example
        distinguished_name_qualifier: distinguished_name_qualifier_example
        generation_qualifier: generation_qualifier_example
        given_name: given_name_example
        initials: initials_example
        locality_name: locality_name_example
        organization: organization_example
        organizational_unit: organizational_unit_example
        pseudonym: pseudonym_example
        serial_number: serial_number_example
        state_or_province_name: state_or_province_name_example
        street: street_example
        surname: surname_example
        title: title_example
        user_id: "ocid1.user.oc1..xxxxxxEXAMPLExxxxxx"
      config_type: ROOT_CA_GENERATED_INTERNALLY

        # optional
      signing_algorithm: SHA256_WITH_RSA
      version_name: version_name_example
      stage: CURRENT
      validity:
        # required
        time_of_validity_not_after: time_of_validity_not_after_example

        # optional
        time_of_validity_not_before: time_of_validity_not_before_example
    certificate_revocation_list_details:
      # required
      object_storage_config:
        # required
        object_storage_bucket_name: object_storage_bucket_name_example
        object_storage_object_name_format: object_storage_object_name_format_example

        # optional
        object_storage_namespace: object_storage_namespace_example

        # optional
      custom_formatted_urls: [ "custom_formatted_urls_example" ]
    freeform_tags: {'Department': 'Finance'}
    defined_tags: {'Operations': {'CostCenter': 'US'}}
    certificate_authority_rules:
    - # required
      rule_type: CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE

      # optional
      leaf_certificate_max_validity_duration: leaf_certificate_max_validity_duration_example
      certificate_authority_max_validity_duration: certificate_authority_max_validity_duration_example

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
certificate_authority
complex
on success
Details of the CertificateAuthority resource acted upon by the current operation

Sample:
{'certificate_authority_rules': [{'certificate_authority_max_validity_duration': 'certificate_authority_max_validity_duration_example', 'leaf_certificate_max_validity_duration': 'leaf_certificate_max_validity_duration_example', 'rule_type': 'CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE'}], 'certificate_revocation_list_details': {'custom_formatted_urls': [], 'object_storage_config': {'object_storage_bucket_name': 'object_storage_bucket_name_example', 'object_storage_namespace': 'object_storage_namespace_example', 'object_storage_object_name_format': 'object_storage_object_name_format_example'}}, 'compartment_id': 'ocid1.compartment.oc1..xxxxxxEXAMPLExxxxxx', 'config_type': 'ROOT_CA_GENERATED_INTERNALLY', 'current_version': {'certificate_authority_id': 'ocid1.certificateauthority.oc1..xxxxxxEXAMPLExxxxxx', 'issuer_ca_version_number': 56, 'revocation_status': {'revocation_reason': 'UNSPECIFIED', 'time_of_revocation': '2013-10-20T19:20:30+01:00'}, 'serial_number': 'serial_number_example', 'stages': [], 'time_created': '2013-10-20T19:20:30+01:00', 'time_of_deletion': '2013-10-20T19:20:30+01:00', 'validity': {'time_of_validity_not_after': '2013-10-20T19:20:30+01:00', 'time_of_validity_not_before': '2013-10-20T19:20:30+01:00'}, 'version_name': 'version_name_example', 'version_number': 56}, 'defined_tags': {'Operations': {'CostCenter': 'US'}}, 'description': 'description_example', 'freeform_tags': {'Department': 'Finance'}, 'id': 'ocid1.resource.oc1..xxxxxxEXAMPLExxxxxx', 'issuer_certificate_authority_id': 'ocid1.issuercertificateauthority.oc1..xxxxxxEXAMPLExxxxxx', 'kms_key_id': 'ocid1.kmskey.oc1..xxxxxxEXAMPLExxxxxx', 'lifecycle_details': 'lifecycle_details_example', 'lifecycle_state': 'CREATING', 'name': 'name_example', 'signing_algorithm': 'SHA256_WITH_RSA', 'subject': {'common_name': 'common_name_example', 'country': 'country_example', 'distinguished_name_qualifier': 'distinguished_name_qualifier_example', 'domain_component': 'domain_component_example', 'generation_qualifier': 'generation_qualifier_example', 'given_name': 'given_name_example', 'initials': 'initials_example', 'locality_name': 'locality_name_example', 'organization': 'organization_example', 'organizational_unit': 'organizational_unit_example', 'pseudonym': 'pseudonym_example', 'serial_number': 'serial_number_example', 'state_or_province_name': 'state_or_province_name_example', 'street': 'street_example', 'surname': 'surname_example', 'title': 'title_example', 'user_id': 'ocid1.user.oc1..xxxxxxEXAMPLExxxxxx'}, 'time_created': '2013-10-20T19:20:30+01:00', 'time_of_deletion': '2013-10-20T19:20:30+01:00'}
 
certificate_authority_rules
complex
on success
An optional list of rules that control how the CA is used and managed.

   
certificate_authority_max_validity_duration
string
on success
A property indicating the maximum validity duration, in days, of subordinate CA's issued by this CA. Expressed in ISO 8601 format.

Sample:
certificate_authority_max_validity_duration_example
   
leaf_certificate_max_validity_duration
string
on success
A property indicating the maximum validity duration, in days, of leaf certificates issued by this CA. Expressed in ISO 8601 format.

Sample:
leaf_certificate_max_validity_duration_example
   
rule_type
string
on success
The type of rule, whether a renewal rule regarding when to renew the CA or an issuance expiry rule that governs how long the certificates and CAs issued by the CA are valid. (For internal use only) An internal issuance rule defines the number and type of certificates that the CA can issue.

Sample:
CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE
 
certificate_revocation_list_details
complex
on success

   
custom_formatted_urls
list / elements=string
on success
Optional CRL access points, expressed using a format where the version number of the issuing CA is inserted wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2.

   
object_storage_config
complex
on success

     
object_storage_bucket_name
string
on success
The name of the bucket where the CRL is stored.

Sample:
object_storage_bucket_name_example
     
object_storage_namespace
string
on success
The tenancy of the bucket where the CRL is stored.

Sample:
object_storage_namespace_example
     
object_storage_object_name_format
string
on success
The object name in the bucket where the CRL is stored, expressed using a format where the version number of the issuing CA is inserted as part of the Object Storage object name wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2.

Sample:
object_storage_object_name_format_example
 
compartment_id
string
on success
The OCID of the compartment under which the CA is created.

Sample:
ocid1.compartment.oc1..xxxxxxEXAMPLExxxxxx
 
config_type
string
on success
The origin of the CA.

Sample:
ROOT_CA_GENERATED_INTERNALLY
 
current_version
complex
on success

   
certificate_authority_id
string
on success
The OCID of the CA.

Sample:
ocid1.certificateauthority.oc1..xxxxxxEXAMPLExxxxxx
   
issuer_ca_version_number
integer
on success
The version number of the issuing CA.

Sample:
56
   
revocation_status
complex
on success

     
revocation_reason
string
on success
The reason the certificate or certificate authority (CA) was revoked.

Sample:
UNSPECIFIED
     
time_of_revocation
string
on success
The time when the entity was revoked, expressed in RFC 3339 timestamp format. Example: `2019-04-03T21:10:29.600Z`

Sample:
2013-10-20T19:20:30+01:00
   
serial_number
string
on success
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`

Sample:
serial_number_example
   
stages
list / elements=string
on success
A list of rotation states for this CA version.

   
time_created
string
on success
A optional property indicating when the CA version was created, expressed in RFC 3339 timestamp format. Example: `2019-04-03T21:10:29.600Z`

Sample:
2013-10-20T19:20:30+01:00
   
time_of_deletion
string
on success
An optional property indicating when to delete the CA version, expressed in RFC 3339 timestamp format. Example: `2019-04-03T21:10:29.600Z`

Sample:
2013-10-20T19:20:30+01:00
   
validity
complex
on success

     
time_of_validity_not_after
string
on success
The date on which the certificate validity period ends, expressed in RFC 3339 timestamp format. Example: `2019-04-03T21:10:29.600Z`

Sample:
2013-10-20T19:20:30+01:00
     
time_of_validity_not_before
string
on success
The date on which the certificate validity period begins, expressed in RFC 3339 timestamp format. Example: `2019-04-03T21:10:29.600Z`

Sample:
2013-10-20T19:20:30+01:00
   
version_name
string
on success
The name of the CA version. When this value is not null, the name is unique across CA versions for a given CA.

Sample:
version_name_example
   
version_number
integer
on success
The version number of the CA.

Sample:
56
 
defined_tags
dictionary
on success
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace": {"bar-key": "value"}}`

Sample:
{'Operations': {'CostCenter': 'US'}}
 
description
string
on success
A brief description of the CA.

Sample:
description_example
 
freeform_tags
dictionary
on success
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

Sample:
{'Department': 'Finance'}
 
id
string
on success
The OCID of the CA.

Sample:
ocid1.resource.oc1..xxxxxxEXAMPLExxxxxx
 
issuer_certificate_authority_id
string
on success
The OCID of the parent CA that issued this CA. If this is the root CA, then this value is null.

Sample:
ocid1.issuercertificateauthority.oc1..xxxxxxEXAMPLExxxxxx
 
kms_key_id
string
on success
The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.

Sample:
ocid1.kmskey.oc1..xxxxxxEXAMPLExxxxxx
 
lifecycle_details
string
on success
Additional information about the current CA lifecycle state.

Sample:
lifecycle_details_example
 
lifecycle_state
string
on success
The current lifecycle state of the certificate authority.

Sample:
CREATING
 
name
string
on success
A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.

Sample:
name_example
 
signing_algorithm
string
on success
The algorithm used to sign public key certificates that the CA issues.

Sample:
SHA256_WITH_RSA
 
subject
complex
on success

   
common_name
string
on success
Common name or fully-qualified domain name (RDN CN).

Sample:
common_name_example
   
country
string
on success
Country name (RDN C).

Sample:
country_example
   
distinguished_name_qualifier
string
on success
Distinguished name qualifier(RDN DNQ).

Sample:
distinguished_name_qualifier_example
   
domain_component
string
on success
Domain component (RDN DC).

Sample:
domain_component_example
   
generation_qualifier
string
on success
Personal generational qualifier (for example, Sr., Jr. 3rd, or IV).

Sample:
generation_qualifier_example
   
given_name
string
on success
Personal given name (RDN G or GN).

Sample:
given_name_example
   
initials
string
on success
Personal initials.

Sample:
initials_example
   
locality_name
string
on success
Locality (RDN L).

Sample:
locality_name_example
   
organization
string
on success
Organization (RDN O).

Sample:
organization_example
   
organizational_unit
string
on success
Organizational unit (RDN OU).

Sample:
organizational_unit_example
   
pseudonym
string
on success
Subject pseudonym.

Sample:
pseudonym_example
   
serial_number
string
on success
Unique subject identifier, which is not the same as the certificate serial number (RDN SERIALNUMBER).

Sample:
serial_number_example
   
state_or_province_name
string
on success
State or province name (RDN ST or S).

Sample:
state_or_province_name_example
   
street
string
on success
Street address (RDN STREET).

Sample:
street_example
   
surname
string
on success
Personal surname (RDN SN).

Sample:
surname_example
   
title
string
on success
Title (RDN T or TITLE).

Sample:
title_example
   
user_id
string
on success
User ID (RDN UID).

Sample:
ocid1.user.oc1..xxxxxxEXAMPLExxxxxx
 
time_created
string
on success
A property indicating when the CA was created, expressed in RFC 3339 timestamp format. Example: `2019-04-03T21:10:29.600Z`

Sample:
2013-10-20T19:20:30+01:00
 
time_of_deletion
string
on success
An optional property indicating when to delete the CA version, expressed in RFC 3339 timestamp format. Example: `2019-04-03T21:10:29.600Z`

Sample:
2013-10-20T19:20:30+01:00


Authors

  • Oracle (@oracle)