File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -98,12 +98,13 @@ Then pass the API token as `CF_DNS_API_TOKEN` to Lego.
98
98
** Alternatively,** if you prefer a more strict set of privileges,
99
99
you can split the access tokens:
100
100
101
- * Create one with * Zone / Zone / Read* permissions and scope it to all your zones.
101
+ * Create one with * Zone / Zone / Read* permissions and scope it to all your zones or just the individual zone you need to edit .
102
102
This is needed to resolve domain names to Zone IDs and can be shared among multiple Lego installations.
103
103
Pass this API token as ` CF_ZONE_API_TOKEN ` to Lego.
104
104
* Create another API token with * Zone / DNS / Edit* permissions and set the scope to the domains you want to manage with a single Lego installation.
105
105
Pass this token as ` CF_DNS_API_TOKEN ` to Lego.
106
106
* Repeat the previous step for each host you want to run Lego on.
107
+ * It is possible to use the same api token for both variables if it is given ` Zone:Read ` and ` DNS:Edit ` permission for the zone.
107
108
108
109
This "paranoid" setup is mainly interesting for users who manage many zones/domains with a single Cloudflare account.
109
110
It follows the principle of least privilege and limits the possible damage, should one of the hosts become compromised.
Original file line number Diff line number Diff line change @@ -46,12 +46,13 @@ Then pass the API token as `CF_DNS_API_TOKEN` to Lego.
46
46
**Alternatively,** if you prefer a more strict set of privileges,
47
47
you can split the access tokens:
48
48
49
- * Create one with *Zone / Zone / Read* permissions and scope it to all your zones.
49
+ * Create one with *Zone / Zone / Read* permissions and scope it to all your zones or just the individual zone you need to edit .
50
50
This is needed to resolve domain names to Zone IDs and can be shared among multiple Lego installations.
51
51
Pass this API token as `CF_ZONE_API_TOKEN` to Lego.
52
52
* Create another API token with *Zone / DNS / Edit* permissions and set the scope to the domains you want to manage with a single Lego installation.
53
53
Pass this token as `CF_DNS_API_TOKEN` to Lego.
54
54
* Repeat the previous step for each host you want to run Lego on.
55
+ * It is possible to use the same api token for both variables if it is given `Zone:Read` and `DNS:Edit` permission for the zone.
55
56
56
57
This "paranoid" setup is mainly interesting for users who manage many zones/domains with a single Cloudflare account.
57
58
It follows the principle of least privilege and limits the possible damage, should one of the hosts become compromised.
You can’t perform that action at this time.
0 commit comments