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
billowy-army-68599
06/08/2023, 2:10 PM
Add the following to your code
Copy code
pulumi.export("privateKey", key.privateKeyPem)
Then do
pulumi up
pulumi stack output --show-secrets
p
prehistoric-window-17785
06/09/2023, 10:29 AM
@billowy-army-68599 thanks a lot man, loving automation with pulumi!