https://pulumi.com logo
f

faint-vegetable-61837

05/17/2019, 7:34 PM
Also, is there any way to view secret output values? Running
Copy code
pulumi stack output --show-secrets
Still shows an encrypted value
c

creamy-potato-29402

05/17/2019, 11:04 PM
cc @bitter-oil-46081
b

bitter-oil-46081

05/17/2019, 11:08 PM
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

faint-vegetable-61837

05/21/2019, 2:53 PM
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!
2 Views