Comments (1)
Hello @mrhouzlane! Thanks for reaching out. The error you have posted is an AccessDeniedException
from AWS KMS. It appears that the IAM principal which the default
profile refers has permission to call generate-data-key
on the AWS KMS key you have provided, but the same credentials are not being used in the AWS Encryption SDK. It is also possible that the IAM principal has generate-data-key
permission but is missing encrypt
/decrypt
permissions necessary for envelope encryption using the encrypted data key.
You can read more about setting credentials in the Javascript SDK here or read more about troubleshooting AWS KMS access denied errors here.
from aws-encryption-sdk-javascript.
Related Issues (20)
- @aws-crypto/client-node module version is wrong! HOT 1
- Number increment for @aws-crypto/client-node HOT 2
- @aws-crypto/client-browser Buffer usage in raw2der causing ReferenceError when decrypting HOT 3
- Feature Request: Document React Native Support or Demo
- How do i authenticate with my credentials accessKey and cecretAccesskey? HOT 5
- KmsKeyringNode dependency on aws-sdk resulting in Deprecation WARNings HOT 9
- `KmsKeyringNode` constructor in deadlock in Lambda running on top of NodeJS 18 HOT 5
- InvalidCiphertextException when attempting to decrypt data that was encrypted by other SDK HOT 1
- Node AES simple example throws error HOT 1
- encrypt is not a function HOT 1
- Use more privileged memory allocation for the plaintext Buffer in Decrypt HOT 1
- @aws-crypto/encrypt-node not available in the npm registry HOT 2
- Buffer.alloc is not a function (Node.js func inside Browser context issue) HOT 3
- Error: unencryptedDataKey has not been set HOT 6
- No clear way to decrypt AWS RDS Aurora Activity Streams data HOT 4
- Error: unencryptedDataKey has not been set HOT 1
- @aws-crypto/client-browser no exported member 'encrypt' or 'decrypt'. HOT 1
- Uncaught Exception: "Cannot read properties of null (reading length)" when use encrypt function on lambda 20.x HOT 6
- RawRsaKeyringNode doesn't support Der format. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-encryption-sdk-javascript.