@niveth/key-manager exports only one function that is initKeyManager. initKeyManager returns an object with keys
It creates a User API Key which can be give to users of your api. That key must be sent along while making requests to your api.
Use this to verify whether provided User API Key is valid and that it has not exceeded ratelimit.
Use this to rotate a User API Key. Rotating a key will create a new key with same id and roles
Use this to delete a User API Key
Use this to add roles to a User API Key
Use this to remove roles from a User API Key