Skip to content
BuildExercises

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

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:

Related terms

Checks, Repository, Secrets