We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DynamoStorage stores the Private Key unencrypted in DynamoDB.
export const app = issuer({ // .. storage: DynamoStorage({ table: Resource.AuthStorage.name, }), });
Stored in DynamoDB:
{ "pk": "encryption:key", "sh": "1eda513a-beb6-49b2-a03a-a6b108e597cd", "value": "{\"id\":\"1eda513a-beb6-49b2-a03a-a6b108e597cd\",\"publicKey\":\"-----BEGIN PUBLIC KEY-----\\n{REDACTED}\n-----END PUBLIC KEY-----\\n\",\"privateKey\":\"-----BEGIN PRIVATE KEY-----\\n{REDACTED}==\\n-----END PRIVATE KEY-----\\n\",\"created\":1736050896409,\"alg\":\"RSA-OAEP-512\"}" }
This doesn't seem like good practice, even with Managed Dynamo encryption.
Have you considered the following options:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
DynamoStorage stores the Private Key unencrypted in DynamoDB.
Stored in DynamoDB:
This doesn't seem like good practice, even with Managed Dynamo encryption.
Have you considered the following options:
The text was updated successfully, but these errors were encountered: