(secretsmanager): Access secret string stored in secret manager from CDK #11758
Labels
@aws-cdk/aws-secretsmanager
Related to AWS Secrets Manager
guidance
Question that needs advice or information.
needs-triage
This issue or PR still needs to be triaged.
I am storing the Codestar connection string for Bitbucket in Secret manager. How can I retrieve it in the CDK app:
I am trying with:
bitbucketConnectionString
is not a string though.How do I access the secret value which is actually a connectionString stored in Secret Manager.
What is the right way to replace region and accountId with Pseudo variables in the connection string;
arn:aws:secretsmanager:us-west-2:1000000000:secret:BitbucketCloudConnection-abcdef0
The text was updated successfully, but these errors were encountered: