https://pulumi.com logo
#getting-started
Title
# getting-started
w

witty-arm-78095

11/02/2023, 10:10 PM
How can I access the secret key for IAM user created using pulumi ? Currently is encrypted value but probably it can be access via the CLI or in python script ?
l

little-cartoon-10569

11/02/2023, 10:54 PM
You can view it using
pulumi stack --show-secrets
. You can also export it and then you can view it using the
--show-secrets
flag of
pulumi stack output
, which is better for scripting. You can just use it, in code (e.g. console.log(), etc.).
w

witty-arm-78095

11/02/2023, 11:29 PM
Hey @little-cartoon-10569 you are a life saver. Thanks ❤️