UpdateCertificateByImportingConfigDetails

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

Bases: oci.certificates_management.models.update_certificate_config_details.UpdateCertificateConfigDetails

The details of the configuration for updating a certificate based on the keys from an imported certificate.

Attributes

CONFIG_TYPE_IMPORTED str(object=’’) -> str
CONFIG_TYPE_ISSUED_BY_INTERNAL_CA str(object=’’) -> str
CONFIG_TYPE_MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA str(object=’’) -> str
STAGE_CURRENT str(object=’’) -> str
STAGE_PENDING str(object=’’) -> str
cert_chain_pem [Required] Gets the cert_chain_pem of this UpdateCertificateByImportingConfigDetails.
certificate_pem [Required] Gets the certificate_pem of this UpdateCertificateByImportingConfigDetails.
config_type [Required] Gets the config_type of this UpdateCertificateConfigDetails.
private_key_pem [Required] Gets the private_key_pem of this UpdateCertificateByImportingConfigDetails.
private_key_pem_passphrase Gets the private_key_pem_passphrase of this UpdateCertificateByImportingConfigDetails.
stage Gets the stage of this UpdateCertificateConfigDetails.
version_name Gets the version_name of this UpdateCertificateConfigDetails.

Methods

__init__(**kwargs) Initializes a new UpdateCertificateByImportingConfigDetails 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'
CONFIG_TYPE_ISSUED_BY_INTERNAL_CA = 'ISSUED_BY_INTERNAL_CA'
CONFIG_TYPE_MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA = 'MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA'
STAGE_CURRENT = 'CURRENT'
STAGE_PENDING = 'PENDING'
__init__(**kwargs)

Initializes a new UpdateCertificateByImportingConfigDetails object with values from keyword arguments. The default value of the config_type attribute of this class is IMPORTED 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 UpdateCertificateByImportingConfigDetails. 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 UpdateCertificateByImportingConfigDetails.
  • stage (str) – The value to assign to the stage property of this UpdateCertificateByImportingConfigDetails. Allowed values for this property are: “CURRENT”, “PENDING”
  • cert_chain_pem (str) – The value to assign to the cert_chain_pem property of this UpdateCertificateByImportingConfigDetails.
  • private_key_pem (str) – The value to assign to the private_key_pem property of this UpdateCertificateByImportingConfigDetails.
  • certificate_pem (str) – The value to assign to the certificate_pem property of this UpdateCertificateByImportingConfigDetails.
  • private_key_pem_passphrase (str) – The value to assign to the private_key_pem_passphrase property of this UpdateCertificateByImportingConfigDetails.
cert_chain_pem

[Required] Gets the cert_chain_pem of this UpdateCertificateByImportingConfigDetails. The certificate chain (in PEM format) for the imported certificate.

Returns:The cert_chain_pem of this UpdateCertificateByImportingConfigDetails.
Return type:str
certificate_pem

[Required] Gets the certificate_pem of this UpdateCertificateByImportingConfigDetails. The certificate (in PEM format) for the imported certificate.

Returns:The certificate_pem of this UpdateCertificateByImportingConfigDetails.
Return type:str
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
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.

private_key_pem

[Required] Gets the private_key_pem of this UpdateCertificateByImportingConfigDetails. The private key (in PEM format) for the imported certificate.

Returns:The private_key_pem of this UpdateCertificateByImportingConfigDetails.
Return type:str
private_key_pem_passphrase

Gets the private_key_pem_passphrase of this UpdateCertificateByImportingConfigDetails. An optional passphrase for the private key.

Returns:The private_key_pem_passphrase of this UpdateCertificateByImportingConfigDetails.
Return type:str
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
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