Secrets in Pipelines
Where should a deployment token used by a CI workflow be stored?
Choose one answer
In the CI system's encrypted secrets store, scoped to the environment that needs it and masked in logs.
In a .env file committed to a private repository that only the team can read.
.env
Base64-encoded in the workflow YAML, so it isn't readable in the repository.
In a workflow variable (vars.DEPLOY_TOKEN), which is designed for configuration values.
vars.DEPLOY_TOKEN