You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+5-3
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,15 @@ This package implements the [libdns interfaces](https://github.com/libdns/libdns
9
9
10
10
This package supports API **token** authentication.
11
11
12
-
You will need to create a token with the following permissions:
12
+
You will need to create two tokens with the following permissions:
13
13
14
-
- Zone / Zone / Read
15
-
- Zone / DNS / Edit
14
+
1. Zone / Zone / Read
15
+
2. Applicable Zone / DNS / Edit
16
16
17
17
The first permission is needed to get the zone ID, and the second permission is obviously necessary to edit the DNS records. If you're only using the `GetRecords()` method, you can change the second permission to Read to guarantee no changes will be made.
18
18
19
+
By using two API keys it allows for having a DNS Edit key which only allows editing a single Zone.
20
+
19
21
To clarify, do NOT use API keys, which are globally-scoped:
20
22
21
23

0 commit comments