create Secret with namy generated password/keys with CDK
I want to create a secret via CDK that contains 2 passwords (API keys)
secretName = ApiKeys
key: password1, value: auto-generated password (current)
key: password2, value: auto-generated password (previous)
the CDK syntax I found allows only to create a secret with one secret inside it, is there a way to create a secret in a secret manager with many generated secrets inside it? any snippet code would be helpful.
Hope that helps.
so I need to npm install that project? I don't understand the solution
My apologies as it's not a CDK based project.
It's a SAM based project and the README (https://github.com/aws-samples/secret-creator-secrets-manager/blob/main/README.md) walks you through how to set it up, build and deploy
I need to modify the source code to be able to have 2 KVs ? it's not doable directly via CDK ? I can do it via AWS console add new KV
create Secret with namy generated password/keys with CDKasked 3 months ago
How to pass ARN of DB credentials stored in secret manager to Lambda in CDK?Accepted Answerasked a month ago
CDK: How to create an encrypted Aurora MySQL-compatible cluster using an un-encrypted snapshotEXPERTasked 4 months ago
How to set "compressionType" property in Glue Table via CDKasked 5 months ago
deploy new cdk Aurora ClusterAccepted Answerasked a month ago
How to add domain alias to existing CloudFront distribution using CDKAccepted Answerasked 7 months ago
Rotating the Old AWS Access Key, for a New AWS Access Key in WorkMailAccepted Answerasked 6 months ago
CDK AWS trigger with type EVENTasked 2 months ago
How to create Athena View using CDKAccepted Answerasked 6 months ago
Create API GW Websocket API that is only accessible from within a VPC.asked 2 months ago