Ensure GitHub Actions secrets are encrypted
ID |
plaintext_secret_gh |
Severity |
high |
Remediation Complexity |
trivial |
Remediation Risk |
low |
Remediation Effort |
low |
Vendor |
Github |
Resource |
Terraform (Github Actions) |
Tags |
ASVS50:v13.1.1, reachable |
Description
Within the GitHub Terraform provider, an option exists to include a plaintext representation of a secret. It’s crucial to exercise caution when employing this feature. Storing the plaintext secret within your codebase or version control system can lead to inadvertent exposure, posing a significant security risk.
To mitigate this risk, it is recommended to manage secrets separately through secure secret management systems and refrain from directly embedding plaintext secrets in your Terraform configurations.