UpdateCertificateAuthorityCertificateDetails

class oci.certificates_management.models.UpdateCertificateAuthorityCertificateDetails(**kwargs)

Bases: UpdateCertificateAuthorityActionDetails

The details of the request to update the certificate authority (CA) with a signed certificate for the latest CA version.

Attributes:

ACTION_TYPE_GENERATE_CSR

A constant which can be used with the action_type property of a UpdateCertificateAuthorityActionDetails.

ACTION_TYPE_UPDATE_CERTIFICATE

A constant which can be used with the action_type property of a UpdateCertificateAuthorityActionDetails.

action_type

[Required] Gets the action_type of this UpdateCertificateAuthorityActionDetails.

certificate_pem

[Required] Gets the certificate_pem of this UpdateCertificateAuthorityCertificateDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateCertificateAuthorityCertificateDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

ACTION_TYPE_GENERATE_CSR = 'GENERATE_CSR'

A constant which can be used with the action_type property of a UpdateCertificateAuthorityActionDetails. This constant has a value of “GENERATE_CSR”

ACTION_TYPE_UPDATE_CERTIFICATE = 'UPDATE_CERTIFICATE'

A constant which can be used with the action_type property of a UpdateCertificateAuthorityActionDetails. This constant has a value of “UPDATE_CERTIFICATE”

__init__(**kwargs)

Initializes a new UpdateCertificateAuthorityCertificateDetails object with values from keyword arguments. The default value of the action_type attribute of this class is UPDATE_CERTIFICATE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • action_type (str) – The value to assign to the action_type property of this UpdateCertificateAuthorityCertificateDetails. Allowed values for this property are: “UPDATE_CERTIFICATE”, “GENERATE_CSR”

  • certificate_pem (str) – The value to assign to the certificate_pem property of this UpdateCertificateAuthorityCertificateDetails.

property action_type

[Required] Gets the action_type of this UpdateCertificateAuthorityActionDetails. The type of certificate authority (CA) update request. Updates can either involve initiating renewal of the CA by generating a new certificate signing request (CSR) or updating the signed certificate contents of the latest CA version containing a CSR.

Allowed values for this property are: “UPDATE_CERTIFICATE”, “GENERATE_CSR”

Returns

The action_type of this UpdateCertificateAuthorityActionDetails.

Return type

str

property certificate_pem

[Required] Gets the certificate_pem of this UpdateCertificateAuthorityCertificateDetails. The externally signed certificate (in PEM format) for the subordinate certificate authority (CA).

Returns

The certificate_pem of this UpdateCertificateAuthorityCertificateDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.