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

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

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

### Attributes

#### *key\_id*

The ID to identify the key in KMS.

#### *region*

The AWS region to interact with.
