le-challenge-azure-storage

1.0.0 • Public • Published

le-challenge-azure-storage

A challenge strategy for greenlock.js (node-letsencrypt) for setting, retrieving, and clearing ACME challenges by azure-storage as blobs.

It is designed to handle http-01 challenges.

Install

npm install --save le-challenge-azure-storage

Usage

const challenge = require('le-challenge-azure-storage').create({
  connectionString: 'DefaultEndpointsProtocol=https;AccountName=xxxxx...',
  blobContainer: 'letsencrypt'
});
 
const LE = require('greenlock');
 
LE.create({
  ...
  challengeType: 'http-01',
  challenge,
  ...
});
 
LE.register(...);

It requires the challengeType option to greenlock to be http-01.

Exposed Methods

For ACME Challenge:

  • set(opts, domain, key, value, done)
  • get(opts, domain, key, done)
  • remove(opts, domain, key, done)

For greenlock.js (node-letsencrypt) internals:

  • getOptions() returns the user supplied options, if any (no effect)

Package Sidebar

Install

npm i le-challenge-azure-storage

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.08 kB

Total Files

4

Last publish

Collaborators

  • kolarcz