This message was deleted.
# typescript
s
This message was deleted.
b
@green-bird-4706
getSecret
returns the secret itself, you actually need `getSecretVersion`: https://www.pulumi.com/registry/packages/aws/api-docs/secretsmanager/getsecretversion/
that’ll return the data
it’s a weird naming convention by AWS
(it’s because secretsmanager keeps lots of copies of secrets)
g
Thanks. I always though
getSecretsVersion
would give me a number of the version, like 1, 2 or 3 😂 . I didn't even bother to try it 😳