0.0.1 • Published 5 years ago

acme-dns-01-googlecloud v0.0.1

Weekly downloads
10
License
MPL-2.0
Repository
-
Last release
5 years ago

acme-dns-01-googlecloud.js

Google Domains + Let's Encrypt for Node.js - ACME dns-01 challenges w/ ACME.js and Greenlock.js

In Progress. Would love help. Please contact @coolaj86 on Keybase.

  • zones
  • set
  • get
  • remove

Implementation Details

Test This First!

Edit the file oauth2l-test-token.sh

Change the location of service_account.json to whatever it needs to be.

Change the project to the name of your project.

If that doesn't work, something is wrong with your credentials, nothing else will work.

Usage

First you create an instance with your credentials:

var dns01 = require('acme-dns-01-googlecloud').create({
	baseUrl: 'https://www.googleapis.com/dns/v1/', // default

  // contains private_key, private_key_id, project_id, and client_email
	serviceAccountPath: __dirname + '/service_account.json'
});