atoti_azure.client_side_encryption module#

class atoti_azure.AzureKeyPair#

Key pair to use for client side encryption.

Warning

Each encrypted blob must have the metadata attribute unencrypted_content_length with the unencrypted file size. If this is not set, an Issue while downloading error will occur.

Example

>>> from atoti_azure import AzureKeyPair
>>> azure_client_side_encryption = (
...     AzureKeyPair(
...         key_id="key_id",
...         public_key="public_key",
...         private_key="private_key",
...     ),
... )
key_id: str#

The ID of the key used to encrypt the blob.

private_key: str#

The private key.

public_key: str#

The public key.