Secret key rotation
Secret keys authenticate your trusted backend to HumanPass. Treat them like passwords with access to verification results.
Secret handling rules
Section titled “Secret handling rules”- A new secret is displayed once. Store it immediately in your secret manager.
- Never send it to a browser or include it in screenshots, logs, analytics, error messages, or source control.
- Give production workloads access only to the secret for their own site and environment.
- Rotate a secret when access changes or exposure is suspected.
Rotate without downtime
Section titled “Rotate without downtime”- In HumanPass → Site → Secret keys, create a new key with a descriptive name.
- Copy the new value immediately.
- Add it to your backend secret manager.
- Deploy or restart every backend instance so all traffic uses the new key.
- Confirm successful verification and check the new key’s last-used metadata.
- Revoke the old key.
HumanPass can keep more than one secret active during the rotation window, so you do not need to revoke the old key before deploying the new one.
Suspected exposure
Section titled “Suspected exposure”If a secret may be exposed:
- Create and deploy a replacement immediately.
- Revoke the compromised key as soon as the replacement is active.
- Review HumanPass activity and your application logs for unusual verification attempts.
- Rotate any other credential that may have been exposed by the same incident.
Revoked secret values are not recoverable and must never be accepted again.
