UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails

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

Bases: UpdateCertificateConfigDetails

The details for updating an externally managed certificate which is issued by a private certificate authority (CA).

Attributes:

CONFIG_TYPE_IMPORTED

A constant which can be used with the config_type property of a UpdateCertificateConfigDetails.

CONFIG_TYPE_ISSUED_BY_INTERNAL_CA

A constant which can be used with the config_type property of a UpdateCertificateConfigDetails.

CONFIG_TYPE_MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA

A constant which can be used with the config_type property of a UpdateCertificateConfigDetails.

STAGE_CURRENT

A constant which can be used with the stage property of a UpdateCertificateConfigDetails.

STAGE_PENDING

A constant which can be used with the stage property of a UpdateCertificateConfigDetails.

config_type

[Required] Gets the config_type of this UpdateCertificateConfigDetails.

csr_pem

[Required] Gets the csr_pem of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.

stage

Gets the stage of this UpdateCertificateConfigDetails.

validity

Gets the validity of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.

version_name

Gets the version_name of this UpdateCertificateConfigDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails 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.

CONFIG_TYPE_IMPORTED = 'IMPORTED'

A constant which can be used with the config_type property of a UpdateCertificateConfigDetails. This constant has a value of “IMPORTED”

CONFIG_TYPE_ISSUED_BY_INTERNAL_CA = 'ISSUED_BY_INTERNAL_CA'

A constant which can be used with the config_type property of a UpdateCertificateConfigDetails. This constant has a value of “ISSUED_BY_INTERNAL_CA”

CONFIG_TYPE_MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA = 'MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA'

A constant which can be used with the config_type property of a UpdateCertificateConfigDetails. This constant has a value of “MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA”

STAGE_CURRENT = 'CURRENT'

A constant which can be used with the stage property of a UpdateCertificateConfigDetails. This constant has a value of “CURRENT”

STAGE_PENDING = 'PENDING'

A constant which can be used with the stage property of a UpdateCertificateConfigDetails. This constant has a value of “PENDING”

__init__(**kwargs)

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

Parameters
  • config_type (str) – The value to assign to the config_type property of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails. Allowed values for this property are: “ISSUED_BY_INTERNAL_CA”, “MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA”, “IMPORTED”

  • version_name (str) – The value to assign to the version_name property of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.

  • stage (str) – The value to assign to the stage property of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails. Allowed values for this property are: “CURRENT”, “PENDING”

  • csr_pem (str) – The value to assign to the csr_pem property of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.

  • validity (oci.certificates_management.models.Validity) – The value to assign to the validity property of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.

property config_type

[Required] Gets the config_type of this UpdateCertificateConfigDetails. The origin of the certificate.

Allowed values for this property are: “ISSUED_BY_INTERNAL_CA”, “MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA”, “IMPORTED”

Returns

The config_type of this UpdateCertificateConfigDetails.

Return type

str

property csr_pem

[Required] Gets the csr_pem of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails. The certificate signing request (in PEM format).

Returns

The csr_pem of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.

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.

property stage

Gets the stage of this UpdateCertificateConfigDetails. The rotation state of the certificate. The default is CURRENT, meaning that the certificate is currently in use. A certificate version that you mark as PENDING is staged and available for use, but you don’t yet want to rotate it into current, active use. For example, you might update a certificate and mark its rotation state as PENDING if you haven’t yet updated the certificate on the target system.

Allowed values for this property are: “CURRENT”, “PENDING”

Returns

The stage of this UpdateCertificateConfigDetails.

Return type

str

property validity

Gets the validity of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.

Returns

The validity of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.

Return type

oci.certificates_management.models.Validity

property version_name

Gets the version_name of this UpdateCertificateConfigDetails. A name for the certificate version. When the value is not null, a name is unique across versions of a given certificate.

Returns

The version_name of this UpdateCertificateConfigDetails.

Return type

str