atoti_azure.KeyPair#

final class atoti_azure.KeyPair#

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 KeyPair
>>> client_side_encryption = KeyPair(
...     "public_key", "private_key", key_id="key_id"
... )
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.