Glossary / Rotating a key
Rotating a key: what it means
Replacing a key with a new one and cancelling the old one. Do this whenever a key may have been seen by someone else.
How it shows up when you build
- Keep secret keys out of the page: Replacing a key with a new one and cancelling the old one. Do this whenever a key may have been seen by someone else.
A tip
- If a real key was ever in a page or a public repository, treat it as leaked and replace it.
Practise it
Build it with an AI tool and check the result in these exercises:
- 4. Keep secret keys out of the page (Secrets)