CreateCertificateByImportingConfigDetails

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

Bases: CreateCertificateConfigDetails

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

Attributes:

CONFIG_TYPE_IMPORTED

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

CONFIG_TYPE_ISSUED_BY_INTERNAL_CA

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

CONFIG_TYPE_MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA

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

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'

A constant which can be used with the config_type property of a CreateCertificateConfigDetails. 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 CreateCertificateConfigDetails. 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 CreateCertificateConfigDetails. This constant has a value of “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.

property 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

property 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

property 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.

property 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

property 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

property 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