What the key does
The secret key is the shared value used by the server and the authenticator app to generate matching codes. The key is usually hidden behind a QR code or shown as a manual setup string.
Why the key is sensitive
If someone copies the key, they can typically create valid codes until the platform invalidates the secret. That is why the key should stay private even if the codes themselves are short-lived.
How to handle it safely
Use it only in a trusted authenticator or local troubleshooting tool, never in a public support ticket, and do not store plain-text secrets in screenshots, notes, or shared chat logs.
Action items
- Treat otpauth URIs, QR codes, and manual setup keys as secrets.
- Use local parsing tools when you need to inspect setup data.
- Rotate the secret if you believe it has been exposed.
Cautions
- The key is not the same thing as the temporary code you type in.
- A leaked setup key can outlive the phone that originally generated it.