FormidableLabs / FormidableLabs/terraform-aws-serverless

Feature/Option: KMS

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
enhancement
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.