Guides / Operate
Protect your account with two-step verification
Two-step verification asks for a code from an authenticator app after your password, so a stolen password is not enough to sign in as you. Turn it on for anyone who can change infrastructure.
Turn it on
- In the console, open Account security (the shield icon). It opens the account page of the sign-in service.
- Choose to set up two-step verification. Add the key (or the
otpauth://link) to your authenticator app. - Enter a code from the app to confirm. It turns on only after a valid code.
- Save the recovery codes somewhere safe, offline. Each works once.
Sign in with a code
After the password, enter the six-digit code from the app, or a recovery code. Each code works once. Five wrong codes end the attempt.
Change it or turn it off
- Replacing your recovery codes needs a valid code.
- Turning it off needs your password and a code.
- Turning it on or off ends your other sessions. Tokens already issued, including personal API tokens, keep working until they expire. Revoke any you no longer trust with
kubectl delete apitoken.
If you lose both the app and the recovery codes, an operator cannot restore your account. Keep the recovery codes where you will find them.
Next
Automate with a service account, so scripts never use your token.