Is it ok to commit Pulumi.[stackname].yaml to git ...
# general
b
Is it ok to commit Pulumi.[stackname].yaml to git when using AWS KMS for secrets encryption? It has an
encryptedkey
line in there which I’m assuming is the encryption salt which is encrypted using the kms key?
h
yes, that’s my understand at least. Assuming you’re using the
--secret
option when setting the config value
w
Yes - that’s right. This file is safe to check in as long as you are using —secret for any sensitive configuration, and it is recommended to to so for any “long-lived” stacks.
b
Thanks! I guess it’s sort of covered here already: https://www.pulumi.com/docs/intro/concepts/project/#stack-settings-file