If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
It's possible to configure the deployment settings for a given stack and inject plain text environment variables ✔.
However, the input type is Mapping[str, str] and it doesn't make any distinctions on the value being a string or a Pulumi secret ❌. Both are treated as plain text values.
This mean, if a user/customer needs to provide a token (say, accessing a remote service), then the value shows up in plain text in the Pulumi Cloud Console ❌.
Here is a screen capture after running the code below
Thank you for finding and bringing this up!
Fixed and released a new version, please update to 0.23.2 and secrets will work in Deployment Settings again.
Hello!
Issue details
It's possible to configure the deployment settings for a given stack and inject plain text environment variables ✔. However, the input type is
Mapping[str, str]
and it doesn't make any distinctions on the value being a string or a Pulumi secret ❌. Both are treated as plain text values.This mean, if a user/customer needs to provide a token (say, accessing a remote service), then the value shows up in plain text in the Pulumi Cloud Console ❌.
Here is a screen capture after running the code below
Source code for the screen short above