SSECustomerKeyDetails¶
-
class
oci.object_storage.models.
SSECustomerKeyDetails
(**kwargs)¶ Bases:
object
Specifies the details of the customer-provided encryption key (SSE-C) associated with an object.
Attributes
ALGORITHM_AES256
A constant which can be used with the algorithm property of a SSECustomerKeyDetails. algorithm
[Required] Gets the algorithm of this SSECustomerKeyDetails. key
[Required] Gets the key of this SSECustomerKeyDetails. key_sha256
[Required] Gets the key_sha256 of this SSECustomerKeyDetails. Methods
__init__
(**kwargs)Initializes a new SSECustomerKeyDetails object with values from keyword arguments. -
ALGORITHM_AES256
= 'AES256'¶ A constant which can be used with the algorithm property of a SSECustomerKeyDetails. This constant has a value of “AES256”
-
__init__
(**kwargs)¶ Initializes a new SSECustomerKeyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - algorithm (str) – The value to assign to the algorithm property of this SSECustomerKeyDetails. Allowed values for this property are: “AES256”
- key (str) – The value to assign to the key property of this SSECustomerKeyDetails.
- key_sha256 (str) – The value to assign to the key_sha256 property of this SSECustomerKeyDetails.
-
algorithm
¶ [Required] Gets the algorithm of this SSECustomerKeyDetails. Specifies the encryption algorithm. The only supported value is “AES256”.
Allowed values for this property are: “AES256”
Returns: The algorithm of this SSECustomerKeyDetails. Return type: str
-
key
¶ [Required] Gets the key of this SSECustomerKeyDetails. Specifies the base64-encoded 256-bit encryption key to use to encrypt or decrypt the object data.
Returns: The key of this SSECustomerKeyDetails. Return type: str
-
key_sha256
¶ [Required] Gets the key_sha256 of this SSECustomerKeyDetails. Specifies the base64-encoded SHA256 hash of the encryption key. This value is used to check the integrity of the encryption key.
Returns: The key_sha256 of this SSECustomerKeyDetails. Return type: str
-