Skip to content

Make StrictAwsKmsMasterKeyProvider documentation clearer #311

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

Closed
acioc opened this issue Dec 4, 2020 · 1 comment
Closed

Make StrictAwsKmsMasterKeyProvider documentation clearer #311

acioc opened this issue Dec 4, 2020 · 1 comment

Comments

@acioc
Copy link

acioc commented Dec 4, 2020

Per #310 , our documentation implies that StrictAwsKmsMasterKeyProvider can encrypt and decrypt with alias ARNs. We should update this to make it clearer that you can only encrypt with alias ARNs. Decryption will not succeed since the alias ARN will not match the actual key ARN.

@xoob
Copy link

xoob commented Dec 9, 2020

This issue just bit me while following the Python SDK Example where I intuitively used an alias ARN. I was able to encrypt but not decrypt, getting DecryptKeyError: Unable to decrypt any data key.

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