maxdraco

Identity and access

Proving who or what is asking, and deciding what they may do: passwords, keys, tokens and the rules around them.

Concepts

  • Access token A secret string a program presents to a service to prove it is allowed to act, often for a limited time.
  • Allowlist A list of the things that are explicitly permitted; everything not on it is refused.
  • API key A secret string a program sends to prove which account it is calling an API as.
  • Authentication (and authorisation) Checking who someone is (authentication), then deciding what they are allowed to do (authorisation).
  • Deny by default A security rule where nothing is allowed unless a rule specifically permits it.
  • Key rotation Replacing a password, key or token with a new one and retiring the old one.
  • Least privilege The rule that every person or program should get only the access it needs for its job, and no more.
  • Machine identity An account that belongs to a program or service rather than a person, with its own credentials and permissions.
  • Offline password cracking Guessing a password by testing candidates against a stolen copy of something derived from it, away from the system it protects.
  • Phishing Tricking someone into giving away a password or running something harmful, with a message that pretends to come from someone they trust.
  • Public-key cryptography Cryptography that uses a pair of keys: a public one you can share and a private one you keep secret.
  • Secret scanning Automatically searching code, logs or files for passwords, keys and tokens that should not be there.
  • Secrets manager (vault) A service that stores passwords, keys and tokens in one protected place and hands them out only to programs and people allowed to have them.
  • Single sign-on (SSO) Logging in once with one account to get into many separate apps or services.
  • Two-factor authentication (2FA) Signing in with two different kinds of proof, such as a password plus a code from a phone.

Protocols

  • SSH Encrypted protocol for logging in to and running commands on another computer.

Tools

  • Headscale Open-source, self-hosted replacement for Tailscale's coordination server.
  • Keychain (macOS) The built-in encrypted store where Apple devices keep passwords, keys and certificates.

Related topics