CreateRootCaManagedExternallyConfigDetails

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

Bases: CreateCertificateAuthorityConfigDetails

The configuration details for creating an externally managed private root certificate authority (CA) issued by an external CA.

Attributes:

CONFIG_TYPE_ROOT_CA_GENERATED_INTERNALLY

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

CONFIG_TYPE_ROOT_CA_MANAGED_EXTERNALLY

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

CONFIG_TYPE_SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA

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

CONFIG_TYPE_SUBORDINATE_CA_MANAGED_INTERNALLY_ISSUED_BY_EXTERNAL_CA

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

certificate_pem

[Required] Gets the certificate_pem of this CreateRootCaManagedExternallyConfigDetails.

config_type

[Required] Gets the config_type of this CreateCertificateAuthorityConfigDetails.

version_name

Gets the version_name of this CreateCertificateAuthorityConfigDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateRootCaManagedExternallyConfigDetails 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_ROOT_CA_GENERATED_INTERNALLY = 'ROOT_CA_GENERATED_INTERNALLY'

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

CONFIG_TYPE_ROOT_CA_MANAGED_EXTERNALLY = 'ROOT_CA_MANAGED_EXTERNALLY'

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

CONFIG_TYPE_SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA = 'SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA'

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

CONFIG_TYPE_SUBORDINATE_CA_MANAGED_INTERNALLY_ISSUED_BY_EXTERNAL_CA = 'SUBORDINATE_CA_MANAGED_INTERNALLY_ISSUED_BY_EXTERNAL_CA'

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

__init__(**kwargs)

Initializes a new CreateRootCaManagedExternallyConfigDetails object with values from keyword arguments. The default value of the config_type attribute of this class is ROOT_CA_MANAGED_EXTERNALLY 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 CreateRootCaManagedExternallyConfigDetails. Allowed values for this property are: “ROOT_CA_GENERATED_INTERNALLY”, “SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA”, “ROOT_CA_MANAGED_EXTERNALLY”, “SUBORDINATE_CA_MANAGED_INTERNALLY_ISSUED_BY_EXTERNAL_CA”

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

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

property certificate_pem

[Required] Gets the certificate_pem of this CreateRootCaManagedExternallyConfigDetails. The externally signed certificate (in PEM format) for the imported root CA.

Returns

The certificate_pem of this CreateRootCaManagedExternallyConfigDetails.

Return type

str

property config_type

[Required] Gets the config_type of this CreateCertificateAuthorityConfigDetails. The origin of the CA.

Allowed values for this property are: “ROOT_CA_GENERATED_INTERNALLY”, “SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA”, “ROOT_CA_MANAGED_EXTERNALLY”, “SUBORDINATE_CA_MANAGED_INTERNALLY_ISSUED_BY_EXTERNAL_CA”

Returns

The config_type of this CreateCertificateAuthorityConfigDetails.

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 version_name

Gets the version_name of this CreateCertificateAuthorityConfigDetails. The name of the CA version. When the value is not null, a name is unique across versions of a given CA.

Returns

The version_name of this CreateCertificateAuthorityConfigDetails.

Return type

str