Also, is there any way to view secret output value...
# general
f
Also, is there any way to view secret output values? Running
Copy code
pulumi stack output --show-secrets
Still shows an encrypted value
c
cc @bitter-oil-46081
b
That's very surprising. I can't reproduce this. I just tried the following: 1. create a new project. 2. put this in to index.ts:
Copy code
import * as pulumi from "@pulumi/pulumi";

export const secret = pulumi.secret("secret text");
3. run
pulumi up
4. run
pulumi stack output
(the secret is not show, as expected. 5. run
pulumi stack output --show-secrets
(the secret is shown) This is with v0.17.12 of the CLI, but I expect it would behave the same way on 0.17.11
f
Sorry, I cannot reproduce this now, maybe I was logged to the local backend
I mistook {id="", secret="xx"} output, which was an AWS key value for pulumi secret, sorry!