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
+17-4Lines changed: 17 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,20 @@ Before starting the installation process, make sure you have (and know) the foll
27
27
28
28
a. Know your Cloudflare account username (or [register for an account if you're new to Cloudflare](https://dash.cloudflare.com/sign-up)); and
29
29
30
-
b. Have your [Global API key](https://dash.cloudflare.com/profile/api-tokens) (More info: [Global API keys](https://support.cloudflare.com/hc/en-us/articles/200167836-Managing-API-Tokens-and-Keys)).
30
+
b. Have your [API key](https://dash.cloudflare.com/profile/api-tokens) - no need to use your Global API key! (More info: [API keys](https://support.cloudflare.com/hc/en-us/articles/200167836-Managing-API-Tokens-and-Keys)).
31
+
32
+

33
+
34
+
c. Create a API key with following (3) permissions:
31
35
36
+
**Zone** > **Zone.Settings** > **Read**
37
+
**Zone** > **Zone** > **Read**
38
+
**Zone** > **DNS** > **Edit**
39
+
40
+
The affected zone ressouces have to be (at least):
41
+
42
+
**Include** > **All zones from an account** > `<domain>`
43
+
32
44
2.*DNS settings:*
33
45
34
46
Ensure the DNS A record(s) for the domain/zone(s) you wish to update with this script have been created (More information: [Managing DNS records](https://support.cloudflare.com/hc/en-us/articles/360019093151-Managing-DNS-records-in-Cloudflare)).
@@ -91,8 +103,8 @@ Before starting the installation process, make sure you have (and know) the foll
91
103
For a single domain: __mydomain.com__
92
104
For multiple domains: __subdomain.mydomain.com---vpn.mydomain.com__
93
105
(ensure each domain is seperated by three dashes: ---)
94
-
* Username: The email address you use for logging in to Cloudflare.
95
-
* Password: Your Cloudflare Global API Key
106
+
* Username: The email address you use for logging in to Cloudflare (optional since the API key is sufficient)
<small><i><ahref='http://ecotrust-canada.github.io/markdown-toc/'>Table of contents generated with markdown-toc</a></i></small>
151
+
<small><i><ahref='http://ecotrust-canada.github.io/markdown-toc/'>Table of contents generated with markdown-toc</a></i></small>
152
+
<small><i><ahref='https://www.youtube.com/watch?v=Nf7m3h11y-s'>DB Tech - creating API keys and using Cloudflare CNAME for single updates</a></i></small>
0 commit comments