> ## 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

<span id="atoti_storage_aws.KeyPair" />

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

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/0.9/languages/pycon.tmLanguage.json"]}}
>>> from atoti_storage_aws import KeyPair
>>> client_side_encryption = KeyPair(
...     "public_key",
...     "private_key",
...     region="eu-west-3",
... )
```

### Properties

<h4 id="atoti_storage_aws.KeyPair.public_key_pem">
  *public\_key\_pem*
</h4>

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

The public key in PEM format.

### Attributes

<h4 id="atoti_storage_aws.KeyPair.region">
  *region*
</h4>

The AWS region to interact with.

<h4 id="atoti_storage_aws.KeyPair.public_key">
  *public\_key*
</h4>

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

<h4 id="atoti_storage_aws.KeyPair.private_key">
  *private\_key*
</h4>

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