doc/pages/02.administer/55.providers/05.registrar/ovh/autodns/autodns.md

34 lines
1.2 KiB
Markdown
Raw Normal View History

2021-09-21 02:14:55 +02:00
---
title: Obtaining an API key from OVH
template: docs
taxonomy:
category: docs
routes:
default: '/providers/registrar/ovh/autodns'
aliases:
- '/registar_api_ovh'
---
This page is meant to guide you in obtaining an API key from OVH in order to configure YunoHost's automatic DNS configuration mecanism
! NB. : **DO NOT share your API tokens with anybody!** A malicious attacker obtaining your tokens could take over your domain, and possibly your server!
1. Go to https://eu.api.ovh.com/createToken/
2. Fill the form with the required informations as shown below:
- Account ID or email address: This is your usual OVH login
- Password: This is your usual OVH password
- Script Name: for example `YunoHost Auto DNS`
- Script description: for example `YunoHost Auto DNS`
- Validity: `Unlimited`
- Rights: use the `+` button to add the following lines
- `GET` : `/domain/zone/*`
- `POST` : `/domain/zone/*`
- `PUT` : `/domain/zone/*`
- `DELETE` : `/domain/zone/*`
![](image://registrar_api_ovh_1.png?resize=800)
3. You will obtain three tokens (an application key, a secret application key, and a consumer key) which should be used in YunoHost's configuration