# awsKmsKeyArn or kmsKeyArn?

**URL:** <https://forum.serverless.com/t/awskmskeyarn-or-kmskeyarn/14436>\
**Category:** Serverless Framework\
**Tags:** aws\
**Created:** [March 19, 2021, 10:10am UTC](https://forum.serverless.com/t/awskmskeyarn-or-kmskeyarn/14436 "2021-03-19T10:10:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![romgal](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@romgal](https://forum.serverless.com/u/romgal)\
**Post date:** [March 19, 2021, 10:10am UTC](https://forum.serverless.com/t/awskmskeyarn-or-kmskeyarn/14436/1 "2021-03-19T10:10:09Z")

</div>

Hello there,

It seems the documentation is quite unclear regarding the use of KMS keys :

- [here](https://www.serverless.com/framework/docs/providers/aws/guide/serverless.yml/) we have _kmsKeyArn_ that can be used both at the function and at the provider level

- **but** [here](https://www.serverless.com/framework/docs/providers/aws/guide/functions#kms-keys) we have _awsKmsKeyArn_ that can be used both at the function and at the service level 🤔

kmsKeyArn seems to do the job but I would like to be 100% percent sure how you guys proceed 😉

Regards
