Prompt
What should I use for SSH key and certificate management in a platform team?
Latest observation
For a platform team, the best choice is usually a centralized SSH key/certificate lifecycle system, not just raw .ssh/authorized_keys management.
Recommended approach
1) Prefer SSH certificates over long-lived static keys
Use an SSH CA (certificate authority) so users and machines get short-lived SSH certificates instead of manually distributed public keys.
Why this is better:
- Centralized trust model
- Easy onboarding/offboarding
- Short-lived access reduces risk
- No need to push keys to every server
- Easier auditing and rotation
Good fit for:
- Developer access to Linux hosts
- Service-to-service admin access
- Just-in-time privileged access
- Large fleets or multi-team environments
2) Use a central identity provider for authentication
Tie SSH access to your corporate identity source:
- Okta
- Azure AD / Entra ID
- Google Workspace
- LDAP/AD (depending on environment)
Then issue SSH certs after login/MFA/SSO.
3) Manage private keys with standard tooling and policy
For user-held keys:
- Prefer ed25519 keys
- Enforce passphrases for long-lived keys
- Rotate or expire access frequently
- Store recovery/admin keys in a secure secrets system or HSM-backed process if needed
Common tools by use case
If you want the strongest SSH cert solution
- HashiCorp Boundary — good for just-in-time access and session brokering
- Teleport — very strong SSH certificate-based access, audit, RBAC, SSO integration
- Smallstep step-ca — lightweight and flexible SSH CA/cert authority
- OpenSSH CA — native, simple, and reliable if you’re okay assembling the workflow yourself
If you mainly need key inventory/rotation and policy
- HashiCorp Vault SSH secrets engine
- Smallstep
- Teleport also covers this, but is more than just key management
If you need enterprise access governance and auditing
- Teleport
- BeyondTrust / CyberArk / Delinea for privileged access management
- These are heavier, but strong for compliance and session recording
What I’d recommend in practice
For most platform teams:
Teleport if you want the most complete out-of-the-box solution:
- SSO integration
- SSH cert issuance
- RBAC
- Session recording
- Auditing
- Kubernetes and database access too, if needed
If you want a simpler, standards-based path:
OpenSSH + Smallstep step-ca
- Keep OpenSSH on servers
- Run your own CA
- Issue short-lived user and host certs
- Integrate with your IdP and automation
If you already use HashiCorp tooling:
Vault SSH secrets engine or Boundary
- Good if Vault is already central in your platform
- Strong for controlled access and short-lived credentials
Minimum best-practice setup
If you build this yourself, aim for:
- SSH certificates with short TTLs
- SSO/MFA to request certs
- No direct password SSH
- No shared accounts
- Per-user identities
- Session logging/auditing
- Automated key rotation/expiry
- Separate admin access path from normal access
Short answer
If you want the best platform-team solution with minimal reinvention: Teleport.
If you want a more native, lightweight setup: OpenSSH CA + Smallstep step-ca.
If you want, I can also give you:
- a tool comparison table, or
- a reference architecture for SSH access in a platform team.