Secret rotation is the practice of regularly changing secrets, such as passwords or API keys. It’s important to prevent security breaches if a secret is compromised and to ensure that unauthorized access is limited.