green-bird-4706
10/20/2022, 10:58 PMSecretString
value from AWS Secrets Manager. I'm using the AWS providers aws.secretsmanager.getSecretOutput
and am able to retrieve the secret object with all it's metadata, but not the JSON of the secret string that I need. I am considering using the aws-sdk
but would have thought this is something Pulumi could do for me?billowy-army-68599
10/21/2022, 2:26 AMgetSecret
returns the secret itself, you actually need `getSecretVersion`:
https://www.pulumi.com/registry/packages/aws/api-docs/secretsmanager/getsecretversion/green-bird-4706
10/21/2022, 3:05 AMgetSecretsVersion
would give me a number of the version, like 1, 2 or 3 😂 . I didn't even bother to try it 😳