Hello world @pulumi Quick question :- How can I v...
# general
p
Hello world @pulumi Quick question :- How can I view the private key(print it or save to file) for a private key pair created using @pulumi/tls in pulumi cloud? To be clear, I can access it programatically and can even see its json details in pulumi stack url, but how do I actually view/download it ? Thanks in advance!
b
Add the following to your code
Copy code
pulumi.export("privateKey", key.privateKeyPem)
Then do
pulumi up
pulumi stack output --show-secrets
p
@billowy-army-68599 thanks a lot man, loving automation with pulumi!