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

KMSEncryptPolicy cannot be used to encrypt #1796

Open
john-aws opened this issue Nov 13, 2020 · 4 comments
Open

KMSEncryptPolicy cannot be used to encrypt #1796

john-aws opened this issue Nov 13, 2020 · 4 comments

Comments

@john-aws
Copy link

Related to #1186, is the KMSEncryptPolicy policy template actually usable 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.

@sanwar-oc
Copy link

I second this. I'm facing the exact same issue.

@astroanu
Copy link

what's the workaround for this? can someone help?

@john-aws
Copy link
Author

@wchengru Hi, what kind of example are you looking for?

I'm looking for a more usable out-of-the-box SAM policy template, for example:

kms:Encrypt
kms:ReEncrypt*
kms:GenerateDataKey*
kms:DescribeKey

@elmaimbo
Copy link
Contributor

I've submitted a pull request #3657 which adds kms:GenerateDataKey.

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

No branches or pull requests

6 participants