le-challenge-redis
A Redis strategy for greenlock for setting, retrieving, and clearing ACME challenges issued by the ACME server
- Safe to use on ephemeral / load-balanced services (AWS Lambda, Google Cloud Functions, et al.)
Install
$ yarn add le-challenge-redis@3.x
Usage
const Greenlock = const GreenlockRedisChallenge = const challenge = GreenlockRedisChallenge const greenlock = Greenlock
See greenlock's documentation for further usage information
Exposed Methods
For ACME Challenge:
set(opts): Promise<null>
get(opts): Promise<{ keyAuthorization: string }>
remove(opts): Promise<null>
For greenlock internals:
getOptions()
returns the user supplied options, if any (no effect)