awsdocs / aws-cdk-guide

User guide for the AWS Cloud Development Kit (CDK).
Other
335 stars 222 forks source link

Improve Secrets Manager howto #306

Open ghost opened 3 years ago

ghost commented 3 years ago

Got the following feedback:

I am trying to print the contents of a secret but i end up getting a class referenced result. Digging around in the documentation takes forever trying to resolve and confirm that i am infact accessing a secret key and fetching the correct content.

Additionally, there are no pointers or reference as to how one can access 1 key out of many in a secret key fetch to use in e.g. cloud9 for deployment.

An actual example in cloud9 would be very benefitial here.