Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add KMSEncryptPolicy policy template #1186

Closed
jlhood opened this issue Oct 8, 2019 · 1 comment
Closed

add KMSEncryptPolicy policy template #1186

jlhood opened this issue Oct 8, 2019 · 1 comment

Comments

@jlhood
Copy link
Contributor

jlhood commented Oct 8, 2019

Description:

SAM policy templates has a KMSDecryptPolicy, but no KMSEncryptPolicy that allows kms:Encrypt action. This issue is to add a KMSEncryptPolicy that is almost identical to KMSDecryptPolicy, but has kms:Encrypt action instead of kms:Decrypt action. Should be a simple update. Here's an example of a past PR that added a new policy template for reference: #904

@jlhood jlhood added contributors/good-first-issue Good first issue for a contributor contributors/welcome Contributors are welcome to work on this labels Oct 8, 2019
@jlhood jlhood added stage/waiting-for-release and removed contributors/good-first-issue Good first issue for a contributor contributors/welcome Contributors are welcome to work on this labels Oct 16, 2019
@john-aws
Copy link

john-aws commented Nov 5, 2020

Is this policy actually useful as written? It can't be used to publish KMS-encrypted data to an SNS topic, for example, because KMSEncryptPolicy doesn't include kms:GenerateDataKey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants