FormidableLabs / FormidableLabs/terraform-aws-serverless
Feature/Option: KMS
- Dominant language
- HCL
- Stars
- 142
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
Dependencies:
- IAM
```yml
# TODO(IamPolicyDeveloper): KMS: Use keys
- Effect: Allow
Action:
- kms:Encrypt
- kms:GenerateDataKey
- kms:Decrypt
Resource:
- !GetAtt KmsKey.Arn
# TODO(IamPolicyAdmin): KMS: Manage keys
- Effect: Allow
Action:
- kms:Create*
- kms:Describe*
- kms:Enable*
- kms:List*
- kms:Put*
- kms:Update*
- kms:Revoke*
- kms:Disable*
- kms:Get*
- kms:Delete*
- kms:TagResource
- kms:UntagResource
- kms:ScheduleKeyDeletion
- kms:CancelKeyDeletion
Resource:
- !GetAtt KmsKey.Arn
# TODO(IamPolicyLambdaExecution): KMS: Read keys
- Effect: Allow
Action:
- kms:Decrypt
Resource:
- !GetAtt KmsKey.Arn
# SecretsManager: Read secrets
- Effect: Allow
Action:
- secretsmanager:GetSecretValue
Resource:
- !Sub "arn:aws:secretsmanager:${AwsRegion}:${AWS::AccountId}:secret:${ServiceName}/${Stage}/*"
```
Contributor guide
Assessment
This issue has not been assessed yet.