Use it when handling automation credentials around Passwords. Keep credential owner/purpose, secret value custody, retrieval identity, target privilege, runtime exposure, rotation/revocation and verified rejection as separate proof boundaries.
Passwords
Passwords in automation are reusable shared secrets whose risk is dominated by storage, transmission, reuse, lifetime and the breadth of the account they authenticate.
1. Automation passwords: unique, long, vaulted, rotated.
2. Prefer key/token/identity-based auth.
3. Never hard-code.
4. Audit retrieval.
5. Rotate after staff changes.
vault → password → target
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
account purpose → password necessity → entropy/generation → protected storage → just-in-time retrieval → protected authentication → authorized operation → rotation trigger → target password change → secret-store update → old-password rejection
Healthy evidence: passwords are unique, high-entropy, non-embedded, scoped to dedicated identities, rotated atomically and prior values cease authenticating.
Step 2 Failure modes and next checks Narrow the fault
Suspicious evidence: shared passwords span systems or teams, appear on command lines, remain unchanged for long periods or vault and target versions drift.
Password handling evidence shows lifecycle for the tested account and consumers, but it does not show account policy, target authorization or compromise absence.
Step 3 Common mistakes Narrow the fault
- Shared passwords.
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.
- Complex password ≠ safely managed password.
- Password masked in UI ≠ password protected from logs or process inspection.
- Password changed in the vault ≠ password changed on the target.
- Successful login ≠ least-privilege authorization.
- Service account passwords in vault — storage
- Rotation schedule — freshness
- No passwords in scripts/configs — gitleaks
ReferenceWhat it is1 section · depth on demand
Core model
Prefer non-password or short-lived workload identity where possible. When a password is unavoidable, generate sufficient entropy, store it only in an approved secret system, retrieve it just in time, protect the transport, scope the account, rotate on exposure/risk and verify target-side invalidation of prior values.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Passwords owns reusable password credential semantics. IAM and platform branches own account/password-policy internals; Secret Management owns lifecycle orchestration.
In depth
Passwords used by automation (service accounts, device credentials) must be long, unique per system or purpose, stored in a secret manager and rotated — and ideally replaced by keys, certificates or tokens.
| Practice | Detail |
|---|---|
| Generated, not chosen | 24+ random characters |
| One account per automation purpose | Clear audit trail |
| Rotation | On schedule and when staff leave |
| Managed service accounts (gMSA) on Windows | Automatic rotation |
| Device local passwords | Use AAA and LAPS-like tools |
Never pass passwords as command-line arguments; they are visible in process lists and shell history.
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 Secrets & Credentials > Passwords. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html · 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
Passwords credential proof-boundary map
Fast identity, handling/execution, effective-outcome and closure proof boundaries for Passwords.
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Ownership / source | Credential owner, purpose, consumers and authoritative store/issuer are explicit | Shared or orphaned credentials exist outside a controlled source with unclear consumers |
| Retrieval / exposure | Workload retrieves only required material and plaintext exposure is transient and bounded | Secrets leak to source, logs, command lines, artifacts, caches, child processes or unrelated jobs |
| 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 |