CreateCertificateByImportingConfigDetails

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

Bases: oci.certificates_management.models.create_certificate_config_details.CreateCertificateConfigDetails

The details of the configuration for creating 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
cert_chain_pem [Required] Gets the cert_chain_pem of this CreateCertificateByImportingConfigDetails.
certificate_pem [Required] Gets the certificate_pem of this CreateCertificateByImportingConfigDetails.
config_type [Required] Gets the config_type of this CreateCertificateConfigDetails.
private_key_pem [Required] Gets the private_key_pem of this CreateCertificateByImportingConfigDetails.
private_key_pem_passphrase Gets the private_key_pem_passphrase of this CreateCertificateByImportingConfigDetails.
version_name Gets the version_name of this CreateCertificateConfigDetails.

Methods

__init__(**kwargs) Initializes a new CreateCertificateByImportingConfigDetails 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'
__init__(**kwargs)

Initializes a new CreateCertificateByImportingConfigDetails 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 CreateCertificateByImportingConfigDetails. 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 CreateCertificateByImportingConfigDetails.
  • cert_chain_pem (str) – The value to assign to the cert_chain_pem property of this CreateCertificateByImportingConfigDetails.
  • private_key_pem (str) – The value to assign to the private_key_pem property of this CreateCertificateByImportingConfigDetails.
  • certificate_pem (str) – The value to assign to the certificate_pem property of this CreateCertificateByImportingConfigDetails.
  • private_key_pem_passphrase (str) – The value to assign to the private_key_pem_passphrase property of this CreateCertificateByImportingConfigDetails.
cert_chain_pem

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

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

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

Returns:The certificate_pem of this CreateCertificateByImportingConfigDetails.
Return type:str
config_type

[Required] Gets the config_type of this CreateCertificateConfigDetails. 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 CreateCertificateConfigDetails.
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 CreateCertificateByImportingConfigDetails. The private key (in PEM format) for the imported certificate.

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

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

Returns:The private_key_pem_passphrase of this CreateCertificateByImportingConfigDetails.
Return type:str
version_name

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

Returns:The version_name of this CreateCertificateConfigDetails.
Return type:str