Refactor github repository module to use encrypted secret values #1421
Labels
enhancement
New feature or request
security
technical debt
This issue is either technical debt or an issue that will lead to technical debt as time goes by.
User Story
As a modernisation platform engineer
I want to use
encrypted_secret
rather thanplaintext_secret
in the github repository module (terraform/github/modules/repository)So that secret values are not accidentally exposed
Value
This issue is related to #133 ; this was brought to our attention by a Checkov test while adding details for a new application environment (PPUD). It might be enough to change the attribute reference for
aws_secretmanager_version.$name.secret_string
toaws_secretmanager_version.$name.secret_binary
so that we get a base64 string that will be accepted bygithub_actions_secret.$name.encrypted_value
but in all likelihood it will be more complicated than this.Questions / Assumptions
Definition of done
Reference
How to write good user stories
CKV_GIT_4
The text was updated successfully, but these errors were encountered: