05/21/2019, 10:30 PM
SecretsManager: I need to pull the value of a secret stored in AWS secretsmanager. This code: Says:
Copy code
function getSecret 
getSecret(args?: GetSecretArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretResult>

Retrieve metadata information about a Secrets Manager secret. To retrieve a secret value, see the aws_secretsmanager_secret_version data source.
The code comment links here: After looking through the code and the reference I still don't know how to retrieve a secret value. Any pointers?