Secrets & Credentials
Cheat sheet · https://pcornel.dk/topic.php?topic=5888
Answer
Secrets & Credentials is the cross-cutting Automation branch for non-public authentication material and credential artifacts that automation must obtain, use, protect, rotate, expire and audit without embedding sensitive values into source code, logs, artifacts or long-lived runtime state.
Remember
- Secret present ≠ secret safely handled.
- Credential valid ≠ credential authorized for the intended operation.
- Encrypted at rest ≠ protected during retrieval, injection, use or logging.
- Rotation requested ≠ old credential revoked everywhere.
First checks
gitleaks detect --source .— secrets in reposvault status— secret store- Credential inventory with owners — governance
Verify in this order
automation identity → secret store → short-lived credential → target
Where it usually breaks
This branch proves lifecycle and handling of sensitive credential material; it does not by itself prove that the target authorization policy, automation code or downstream workload is secure.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5888