Builds the rotation state of a realm for /admin/keys and GET /admin-api/keys.
/admin/keys
GET /admin-api/keys
the realm id
{ scheduled, offReason, units, refresh }: each unit's current, next and retired kids, last rotation, interval and grace
{ scheduled, offReason, units, refresh }
Builds the rotation state of a realm for
/admin/keysandGET /admin-api/keys.