models.kms_configuration module¶
-
class
models.kms_configuration.
KmsConfiguration
(ca_certificate=None, client_certificate=None, client_key=None, kmip_protocol_version=None, server_ip=None, server_name=None, server_port=None, server_type=None)[source]¶ Bases:
object
Implementation of the ‘KmsConfiguration’ model.
Specifies the parameters for KMS configuration.
- Attributes:
ca_certificate (string): Specifies the CA certificate in PEM format. client_certificate (string): Specifies the client certificate. It is
in PEM format.
client_key (string): Specifies the client private key. kmip_protocol_version (string): Specifies protocol version used to
communicate with the KMS.
server_ip (string): Specifies the KMS IP address. server_name (string): Specifies the name given to the KMS Server. server_port (int): Specifies port on which the server is listening.
Default port is 5696.
- server_type (ServerTypeEnum): Specifies the type of key mangement
system. ‘kInternalKms’ indicates an internal KMS object. ‘kAwsKms’ indicates an Aws KMS object. ‘kCryptsoftKms’ indicates a Cryptsoft KMS object.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.