doc updates
This commit is contained in:
parent
138e2ecfae
commit
8a75e5ee1c
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
ZONE=example.co.uk
|
||||
USERNAME=johndoe
|
||||
PASSWORD=xxxxxxxx
|
||||
ACCOUNT=johndoe
|
||||
TOKEN=xxxxxxxx
|
||||
|
|
Loading…
Reference in New Issue