Interview Prep/Git & GitHub/Security: secrets, signing, access and supply chain

How do you manage SSH keys and deploy keys safely?

IntermediateProductionSecurity: secrets, signing, access and supply chain
Answer

Personal SSH keys are per user with passphrases or hardware-backed (FIDO2 ed25519-sk) keys and are revoked when people leave, via SSO. Deploy keys are repo-scoped and read-only unless truly needed. Where possible use GitHub Apps rather than deploy keys because they are auditable and expire tokens.

All Git & GitHub questions Roadmap: Git & GitHub

More on Security: secrets, signing, access and supply chain