Hi everybody,
I was looking for all application keys I have created many on ovh and now try to limit the rights of each application key to it job.
I wonder whether you have some best practise to limit the accessRules of an application key when I generate the consummer key like that:
curl -XPOST -H “X-Ovh-Application: ” -H “Content-type: application/json” https://eu.api.ovh.com/1.0/auth/credential -d ‘{
“accessRules”:[
{“method”:”POST”,”path”:”/domain/zone//record”},
{“method”:”POST”,”path”:”/domain/zone//refresh”},
{“method”:”DELETE”,”path”:”/domain/zone//record/*”}
],
“redirection”: “https://www."
}’
First example, I have one dns zone with multi domain and I would rather limit the POST on each domain with a specific application key. Could I limit the access Rules to do this ?
Second example, I'm using terraform with OVH and have an application key with all access on /
I didn't find which api routes terraform needed to create new instance of server and I'am afraid of block terraform if I limit too much its rights. Do you have any topic on this too ?
Thanks you
JCG
Brèves de comptoir - [API-KEYS] Limit access of application keys with rules
Related questions
- Comment contacter OVH par téléphone ou même par chat
106918
26.01.2022 14:11
- L'avenir de Hubic ?
94928
28.10.2016 09:45
- Renouvellement automatique obligatoire?
78471
31.03.2017 08:49
- Renouvellement automatique non voulu
71735
27.01.2017 18:51
- Ou est passé le forum HUBIC
67607
20.10.2016 21:31
- VPN OVH - Existe-t-il toujours
61762
22.01.2017 20:21
- Questions fréquentes liées à l'identifiant et la sécurité du compte OVH
57370
17.07.2018 12:19
- Utilisation du compte client OVH ? je suis contre
57211
11.10.2016 19:18
- Connexions non identifiées à mon compte - Digiposte
55199
17.11.2016 11:43
- Suggestions d'amélioration de ce Forum
54918
12.10.2016 09:08