Skip to content

Bake: parameterize secrets in command, entrypoint and healthcheck too - #307

Merged
vsilent merged 1 commit into
devfrom
fix/bake-secrets-outside-environment
Oct 20, 2026
Merged

vsilent merged 1 commit into
devfrom
fix/bake-secrets-outside-environment

Bake: parameterize secrets in command, entrypoint and healthcheck too

3e83150
Select commit
Loading
Failed to load commit list.
GitGuardian / GitGuardian Security Checks skipped Oct 20, 2026 in 4m 5s

You tagged this GitGuardian alert as a false positive

2 secrets was uncovered from the scan of 1 commit in your pull request. ❌

Please have a look to GitGuardian findings and remediate in order to secure your code.

Details

🔎 Detected hardcoded secrets in your pull request

  • Pull request #307: fix/bake-secrets-outside-environment 👉 dev
GitGuardian id GitGuardian status Secret Commit Filename
38612146 Triggered Redis Server Password 3e83150 src/cli/generator/compose.rs View secret
38612145 Triggered Bearer Token 3e83150 src/cli/generator/compose.rs View secret

🛠 Guidelines to remediate hardcoded secrets

  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.