CreateCertificateDetails

class oci.waas.models.CreateCertificateDetails(**kwargs)

Bases: object

The data used to create a new SSL certificate.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Methods

__init__(**kwargs) Initializes a new CreateCertificateDetails object with values from keyword arguments.

Attributes

certificate_data [Required] Gets the certificate_data of this CreateCertificateDetails.
compartment_id [Required] Gets the compartment_id of this CreateCertificateDetails.
defined_tags Gets the defined_tags of this CreateCertificateDetails.
display_name Gets the display_name of this CreateCertificateDetails.
freeform_tags Gets the freeform_tags of this CreateCertificateDetails.
is_trust_verification_disabled Gets the is_trust_verification_disabled of this CreateCertificateDetails.
private_key_data [Required] Gets the private_key_data of this CreateCertificateDetails.
__init__(**kwargs)

Initializes a new CreateCertificateDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateCertificateDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateCertificateDetails.
  • certificate_data (str) – The value to assign to the certificate_data property of this CreateCertificateDetails.
  • private_key_data (str) – The value to assign to the private_key_data property of this CreateCertificateDetails.
  • is_trust_verification_disabled (bool) – The value to assign to the is_trust_verification_disabled property of this CreateCertificateDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateCertificateDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateCertificateDetails.
certificate_data

[Required] Gets the certificate_data of this CreateCertificateDetails. The data of the SSL certificate.

Note: Many SSL certificate providers require an intermediate certificate chain to ensure a trusted status. If your SSL certificate requires an intermediate certificate chain, please append the intermediate certificate key in the certificateData field after the leaf certificate issued by the SSL certificate provider. If you are unsure if your certificate requires an intermediate certificate chain, see your certificate provider’s documentation.

The example below shows an intermediate certificate appended to a leaf certificate.

Returns:The certificate_data of this CreateCertificateDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateCertificateDetails. The OCID of the compartment in which to create the SSL certificate.

Returns:The compartment_id of this CreateCertificateDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateCertificateDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateCertificateDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this CreateCertificateDetails. A user-friendly name for the SSL certificate. The name can be changed and does not need to be unique.

Returns:The display_name of this CreateCertificateDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateCertificateDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {“Department”: “Finance”}

Returns:The freeform_tags of this CreateCertificateDetails.
Return type:dict(str, str)
is_trust_verification_disabled

Gets the is_trust_verification_disabled of this CreateCertificateDetails. Set to true if the SSL certificate is self-signed.

Returns:The is_trust_verification_disabled of this CreateCertificateDetails.
Return type:bool
private_key_data

[Required] Gets the private_key_data of this CreateCertificateDetails. The private key of the SSL certificate.

Returns:The private_key_data of this CreateCertificateDetails.
Return type:str