add howto desec token

This commit is contained in:
dettlaff 2023-05-19 13:56:21 +04:00
parent 789dd9b067
commit 53b7f8a845
6 changed files with 60 additions and 5 deletions

View File

@ -104,10 +104,37 @@ After a few minutes or, in the worst case, up to 2 days, the settings will be ap
**_API tokens_ are almost the same as login and password, only for a program, not a person.**
SelfPrivacy application uses them to manage services in all accounts instead of you. Convenient!
We do not need a token for your domain registrar. But we will need one for the CloudFlare to use it for domain management.
We do not need a token for your domain registrar. But we need a DNS provider token to manage the domain.
### How to get Cloudflare API Token
SelfPrivacy supports two providers to choose from: the popular [Cloudflare] (https://www.cloudflare.com/) and the privacy-focused [deSEC] (https://desec.io/).
### If you chose deSEC: How to get a token
1. Log in at: https://desec.io/login
2. Go to **Domains** page at: https://desec.io/domains
3. Go to **Token management** tab.
4. Click on the round "plus" button in the upper right corner.
{{< imgproc desec-tokenmanagment Fill "626x287">}}
{{< /imgproc >}}
5. "**Generate New Token**" dialogue must be displayed. Enter any **Token name** you wish. Advanced settings are not required, so do not touch anything there.
6. Click on **Save**.
7. Make sure you save the token's "**secret value**" as it will only be displayed once.
{{< imgproc dncsec-copy Fill "626x287">}}
{{< /imgproc >}}
8. Now you can safely **close** the dialogue.
### If you chose Cloudflare: How to get a token
{{< video src="Cloudflare" muted="true" autoplay="true" autoplay="true" loop="true" >}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -100,10 +100,38 @@ description: >
**_API ключи_ — это почти то же самое, что и логин с паролем, только для программы, а не человека.**
Мобильное приложение SelfPrivacy с их помощью управляет сервисами во всех учётных записях вместо вас. Удобно!
Нам не нужен токен для регистратора домена.
Но нам понадобится токен от CloudFlare, чтобы использовать его для управления доменом.
Нам не нужен токен для регистратора домена. Но нам понадобится токен DNS провайдера, чтобы управлять доменомом.
### Как получить API токен Cloudflare
SelfPrivacy поддерживает двух провайдеров на выбор: популярный [Cloudflare](https://www.cloudflare.com/) и нацеленный на приватность [deSEC](https://desec.io/).
### Если вы выбрали deSEC: Как получить токен
1. Авторизуемся в deSEC: https://desec.io/login
2. Переходим на страницу **Domains** по ссылке: https://desec.io/domains
3. Переходим на вкладку **Token management**.
4. Нажимаем на большую кнопку с "плюсом" в правом верхнем углу страницы.
{{< imgproc desec-tokenmanagment Fill "626x287">}}
{{< /imgproc >}}
5. Должен был появиться "**Generate New Token**" диалог. Вводим любое имя токена в **Token name**.
*Advanced settings* необязательны, так что ничего там не трогаем.
6. Кликаем **Save**.
7. Обязательно сохраняем "**secret value**" ключ токена, потому что он отображается исключительно один раз.
{{< imgproc dncsec-copy Fill "626x287">}}
{{< /imgproc >}}
8. Теперь спокойно закрываем диалог, нажав **close**.
### Если вы выбрали Cloudflare: Как получить токен
{{< video src="Cloudflare" muted="true" autoplay="true" autoplay="true" loop="true" >}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB