Glossary coding Term Page
Secret key
The private value used to sign and verify JWTs
Core Idea
Secret key is The private value used to sign and verify JWTs. Store it in .env; if leaked, anyone can forge tokens. It usually makes the most sense alongside OAuth2, JWT, OAuth2PasswordBearer.
Why It Matters Here
Mathbong reuses this term across fastapi posts as shared vocabulary.