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

# KmsConfig

<span id="atoti_storage_aws.KmsConfig" />

> atoti\_storage\_aws.KmsConfig(<br />
>     \*,<br />
>     *region*: [str](https://docs.python.org/3/library/stdtypes.html#str),<br />
>     *key\_id*: [str](https://docs.python.org/3/library/stdtypes.html#str),<br />
> )

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

The AWS KMS CMK must have been created in the same AWS region as the destination bucket (Cf. [AWS documentation](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-config-for-kms-objects.html)).

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

### Attributes

<h4 id="atoti_storage_aws.KmsConfig.key_id">
  *key\_id*
</h4>

The ID to identify the key in KMS.

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

The AWS region to interact with.
