Use it when securing automation execution around Secret Management. Keep source/revision trust, triggering principal, workload identity, policy/approval, runner/control-plane state, target authorization and verified outcome as separate security proof boundaries.
Secret Management · Automation Security
Secret Management in Automation Security defines how controllers, runners and workflows consume secrets securely, emphasizing attack paths in the automation system itself rather than the full credential lifecycle.
1. Use a secret manager for all automation secrets.
2. Inject at runtime.
3. Audit.
4. Rotate.
5. Detect leaks.
automation → secret manager → runtime secret
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational evidence path Verify boundary
trusted run context → workload authentication → secret policy decision → post-trust-boundary injection → bounded use → logging/artifact/cache controls → audit → compromise detection → credential revoke → runner/controller remediation
Healthy evidence: secrets are injected only after trust gates, unavailable to untrusted code, absent from caches/artifacts and revocable with runner remediation procedures.
Step 2 Failure modes and next checks Narrow the fault
Suspicious evidence: secrets are exposed before code trust is established, third-party steps can read all job secrets or persistent runners survive suspected credential exposure unchanged.
Step 3 Common mistakes Narrow the fault
- Secrets in Git history (rotate after removing).
- Secrets printed in job logs.
Step 4 Where it fails Narrow the fault
Where Secret Management usually goes wrong: secret reference/version, least-privilege retrieval, redaction, rotation/expiry and revocation.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Central secret store ≠ safe pipeline consumption.
- Secret masked ≠ secret inaccessible to malicious job code.
- Protected branch ≠ protected runner.
- Secret rotation ≠ compromised runner remediated.
vault audit list— audit- No secrets in repos/logs — scanning
- Dynamic secrets usage — short-lived
ReferenceWhat it is1 section · depth on demand
Core model
Authenticate the workload to a secret system, authorize only required paths, inject secrets after untrusted code/dependency evaluation boundaries where possible, mask and minimize exposure during execution, prevent artifact/cache persistence, and revoke credentials if a runner or pipeline context is compromised.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
This Topic shows secure secret consumption by the automation control plane for observed paths, but it does not show the secret store or target credential itself is uncompromised.
In depth
In automation security, secret management focuses on how jobs obtain credentials safely: authenticating to the secret store with their own workload identity, retrieving only what they need, and never writing secrets to logs or artifacts.
# GitHub Actions: OIDC to cloud, no stored keys
permissions: { id-token: write, contents: read }
steps:
- uses: azure/login@v2
with: { client-id: ${{ vars.AZ_CLIENT_ID }}, tenant-id: ${{ vars.AZ_TENANT_ID }}, subscription-id: ${{ vars.AZ_SUB_ID }} }
Workload identity federation (OIDC) removes long-lived cloud keys from CI entirely.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Automation Security > Secret Management. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Secret Management security proof-boundary map
Fast identity, handling/execution, effective-outcome and closure proof boundaries for Secret Management.
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Trust / identity | Source revision, trigger, workload identity and policy/approval are explicit and immutable | Mutable code or shared admin identity reaches privileged execution without attributable trust decisions |
| Execution / isolation | Runner/controller, dependencies, credentials and target permissions are bounded to the workflow | Persistent privileged runners, broad secrets or floating dependencies widen the execution trust boundary |
| Effective outcome | Target-side authentication/authorization or secure control outcome is independently observed | Tool/job success substitutes for target authorization, effective state or workload proof |
| Closure / next action | Rotation/revocation, denied-path tests, audit evidence and residual exceptions are explicit | Old credentials remain valid, policy bypass exists, audit gaps are unknown or broad success is inferred from one signal |
Deep reference
Healthy vs suspicious evidence
Output interpretation
For Secret Management, rely on structured fields and stable IDs (secret reference/version, least-privilege retrieval, redaction, rotation/expiry and revocation) rather than text formatted for display.