Token ManagementKey RotationOn this pageKey Rotation Rotating Secrets Set JWT_SECRET_PREVIOUS to the old secret Deploy new secret as JWT_SECRET After all tokens expire, remove the old secret Example from python_json_rbac.key_manager import get_key_managermanager = get_key_manager()manager.rotate_key()