Skip to content

New feature: to support API Key Authentication + Enhancements

Compare
Choose a tag to compare
@XD-DENG XD-DENG released this 09 Nov 15:22
· 72 commits to master since this release
51201e1

API Key Authentication

API Key authentication is supported now.

If environment variable REDISEEN_API_KEY is set and is not "", authentication is enforced. Then client has to add X-API-KEY in HTTP header in order to access API, otherwise a 401 error will be given.

By default, there is no authentication enforced, but a WARNING will be printed in the log.

More strict check on the request path

For example, request like /0/key:0/0/0 will get a error reminder return.

Integration test is added

Integration test is added, and it's against multiple Redis versions.