Responded in the issue, but responding here for folks following along:
ESC run purposefully elides these secrets to help prevent leaking inadvertently in logs or other output. If you pass the
-i
flag, it will bypass this.
-i, --interactive true to treat the command as interactive and disable output filters
g
gifted-balloon-26385
04/18/2024, 1:00 AM
thanks cleve -
-i
is a little unintuitive to me (not sure why interactivity is the thing that lets secrets be visible?)
gifted-balloon-26385
04/26/2024, 5:32 PM
read through the docs again, for future readers:
esc run
will still pass the un-masked secret as an env var, despite what the
env
command shows.
esc run
just filters the stdout of any secret values, but the secret is actually there.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.