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

# atoti_storage_aws.KmsConfig

### *final class* atoti\_storage\_aws.KmsConfig

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

### Example

```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",
... )
```

#### key\_id *: [str](https://docs.python.org/3/library/stdtypes.html#str)*

The ID to identify the key in KMS.

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

The AWS region to interact with.
