Evaluates whether the active encryption key is due for rotation and rotates it when needed.
Rotates the active key if the configured rotation period has elapsed.