Terraform Files Terraform state files contain secrets and can also be encrypted and stored using cstore. However, a better option may be Terraform remote state.