Pcornel
Security · Secrets Management

Passwords

Cheat sheet · https://pcornel.dk/topic.php?topic=5060

Back to the Topic

Answer

Passwords as managed secrets should be long, random, unique per system and stored in a password manager or vault, never in scripts, configuration files or chat messages.

Remember

  • Long, random and unique per system.
  • Store in a password manager or vault.
  • Never in scripts or chat.

First checks

  • Password manager/vault for shared accounts — storage
  • Service account password rotation — schedule
  • grep -r -i 'password' <config dir> — plaintext in configs

Verify in this order

password → vault → checkout/injection → rotation

Where it usually breaks

First mismatch in key/secret generation → storage/rotation → trust/certificate validation → protocol negotiation → cryptographic operation → peer/application verification; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5060

Confirmation

Confirm action

Continue?