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
lego --email [email protected] --dns ovh --domains my.example.org run
15
+
16
+
# Or OAuth2:
17
+
18
+
OVH_CLIENT_ID=yyy \
19
+
OVH_CLIENT_SECRET=xxx \
20
+
OVH_ENDPOINT=ovh-eu \
21
+
lego --email [email protected] --dns ovh --domains my.example.org run
13
22
'''
14
23
15
24
Additional = '''
@@ -33,14 +42,32 @@ When requesting the consumer key, the following configuration can be used to def
33
42
]
34
43
}
35
44
```
45
+
46
+
## OAuth2 Client Credentials
47
+
48
+
Another method for authentication is by using OAuth2 client credentials.
49
+
50
+
An IAM policy and service account can be created by following the [OVH guide](https://help.ovhcloud.com/csm/en-manage-service-account?id=kb_article_view&sysparm_article=KB0059343).
51
+
52
+
Following IAM policies need to be authorized for the affected domain:
53
+
54
+
* dnsZone:apiovh:record/create
55
+
* dnsZone:apiovh:record/delete
56
+
* dnsZone:apiovh:refresh
57
+
58
+
## Important Note
59
+
60
+
Both authentication methods cannot be used at the same time.
0 commit comments