https://pulumi.com logo
#python
Title
# python
b

bitter-horse-93353

06/19/2022, 3:01 AM
Hey folks, I created a RandomPassword for an RDS instance via https://www.pulumi.com/registry/packages/random/api-docs/randompassword/#example-usage and did
pulumi.export("pass", password.result)
. This resulted in the output
[secret]
. How can I get the value of the randomly generated password? Is this the correct usage of
RandomPassword
or should I be creating the password manually?
b

billowy-army-68599

06/19/2022, 1:53 PM
Add —show-secrets on the command line
🙏 1
b

bitter-horse-93353

06/19/2022, 4:35 PM
That worked! For completeness for future readers, I needed to run
Copy code
pulumi stack output "pass" --show-secrets
Thanks for the help