How does SOPS fit with Terraform?
IntermediateProductionSecurity, Secrets and Access
Answer
The sops_file data source (from the community sops provider) decrypts a SOPS-encrypted YAML or JSON using KMS credentials available to the runner, so secrets live encrypted in Git. The decrypted values enter state, so the same state-protection rules apply.
More on Security, Secrets and Access
How do you avoid hardcoded credentials in Terraform?BeginnerIs reading a secret with a data source safe?IntermediateHow do ephemeral resources and write-only arguments keep secrets out of state?AdvancedWhat is the better pattern for RDS master passwords?BeginnerHow do you scope IAM for the Terraform deploy role?IntermediateWhat are dynamic provider credentials in HCP Terraform?Intermediate