> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# KeyPair

> atoti\_storage\_aws.KeyPair(\
>
>     *public\_key*: [str](https://docs.python.org/3/builtins/stdtypes.html#str),\
>
>     *private\_key*: RedactedStr,\
>
>     \*,\
>
>     *region*: [str](https://docs.python.org/3/builtins/stdtypes.html#str),\
>
> )

Key pair to use for [client side encryption](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html).

```pycon theme={"languages":{"custom":["/engine/python-sdk/6.2/languages/pycon.tmLanguage.json"]}}
>>> from atoti_storage_aws import KeyPair
>>> client_side_encryption = KeyPair(
...     "public_key",
...     "private_key",
...     region="eu-west-3",
... )
```

### Properties

#### *public\_key\_pem*

> [str](https://docs.python.org/3/builtins/stdtypes.html#str)

The public key in PEM format.

### Attributes

#### *region*

The AWS region to interact with.

#### *public\_key*

> [str](https://docs.python.org/3/builtins/stdtypes.html#str)

#### *private\_key*

> RedactedStr
