Hi Folks, I am working on some code to generate wh...
# python
c
Hi Folks, I am working on some code to generate what a stack config would look like(for easy importing into pulumi), is it possible to get what the salt/encryption method would be outside of a pulumi program? This way I could import secret configs out of band
w
Are these secrets encrypted with the passphrase encryption (default for local backend) or the Pulumi service encryption (default for Pulumi service backend)? If the former, it is possible you could recreate the same encryption used in the Pulumi CLI sources. If the latter, you may be able to use the Pulumi service REST API (not yet documented, but stable for use from old CLIs).
c
this is a local backend currently
w
You can see the current encryption algorithms for passphrase encryption at https://github.com/pulumi/pulumi/blob/master/pkg/resource/config/crypt.go.
c
👍