From 8a75e5ee1cdfdda602fabc0dab4fc8c59a4f3b97 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 30 Jul 2019 20:27:15 -0600 Subject: [PATCH] doc updates --- README.md | 7 ++++--- example.env | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d02c084..11f753f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Handles ACME dns-01 challenges. Compatible with ACME.js and Greenlock.js. Passes - Compatible - Let’s Encrypt v2.1 / ACME draft 18 (2019) - - DNSimple API + - DNSimple v2 API - ACME.js, Greenlock.js, and others - Quality - node v6 compatible VanillaJS @@ -32,7 +32,8 @@ First you create an instance with your credentials: ```js var dns01 = require('acme-dns-01-dnsimple').create({ - baseUrl: '{{ api url }}', // default + baseUrl: 'https://api.dnsimple.com/v2/', // default + account: 'johndoe', token: 'xxxx' }); ``` @@ -93,7 +94,7 @@ See acme-dns-01-test for more implementation details. # Tests ```bash -# node ./test.js domain-zone username password +# node ./test.js domain-zone account token node ./test.js example.com johndoe xxxxxx ``` diff --git a/example.env b/example.env index e053b84..50754f6 100644 --- a/example.env +++ b/example.env @@ -1,3 +1,3 @@ ZONE=example.co.uk -USERNAME=johndoe -PASSWORD=xxxxxxxx +ACCOUNT=johndoe +TOKEN=xxxxxxxx