TlsConfig¶
-
class
oci.data_safe.models.
TlsConfig
(**kwargs)¶ Bases:
object
The details required to establish a TLS enabled connection.
Attributes
CERTIFICATE_STORE_TYPE_JKS
A constant which can be used with the certificate_store_type property of a TlsConfig. STATUS_DISABLED
A constant which can be used with the status property of a TlsConfig. STATUS_ENABLED
A constant which can be used with the status property of a TlsConfig. certificate_store_type
Gets the certificate_store_type of this TlsConfig. key_store_content
Gets the key_store_content of this TlsConfig. status
[Required] Gets the status of this TlsConfig. store_password
Gets the store_password of this TlsConfig. trust_store_content
Gets the trust_store_content of this TlsConfig. Methods
__init__
(**kwargs)Initializes a new TlsConfig object with values from keyword arguments. -
CERTIFICATE_STORE_TYPE_JKS
= 'JKS'¶ A constant which can be used with the certificate_store_type property of a TlsConfig. This constant has a value of “JKS”
-
STATUS_DISABLED
= 'DISABLED'¶ A constant which can be used with the status property of a TlsConfig. This constant has a value of “DISABLED”
-
STATUS_ENABLED
= 'ENABLED'¶ A constant which can be used with the status property of a TlsConfig. This constant has a value of “ENABLED”
-
__init__
(**kwargs)¶ Initializes a new TlsConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - status (str) – The value to assign to the status property of this TlsConfig. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- certificate_store_type (str) – The value to assign to the certificate_store_type property of this TlsConfig. Allowed values for this property are: “JKS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- store_password (str) – The value to assign to the store_password property of this TlsConfig.
- trust_store_content (str) – The value to assign to the trust_store_content property of this TlsConfig.
- key_store_content (str) – The value to assign to the key_store_content property of this TlsConfig.
-
certificate_store_type
¶ Gets the certificate_store_type of this TlsConfig. The format of the certificate store.
Allowed values for this property are: “JKS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The certificate_store_type of this TlsConfig. Return type: str
-
key_store_content
¶ Gets the key_store_content of this TlsConfig. Base64 encoded string of key store file content.
Returns: The key_store_content of this TlsConfig. Return type: str
-
status
¶ [Required] Gets the status of this TlsConfig. Status to represent whether the database connection is TLS enabled or not.
Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this TlsConfig. Return type: str
-
store_password
¶ Gets the store_password of this TlsConfig. The password to read the trust store and key store files, if they are password protected.
Returns: The store_password of this TlsConfig. Return type: str
-
trust_store_content
¶ Gets the trust_store_content of this TlsConfig. Base64 encoded string of trust store file content.
Returns: The trust_store_content of this TlsConfig. Return type: str
-