diff --git a/network/dyndns_api.rst b/network/dyndns_api.rst index b120ad3..9ad4423 100644 --- a/network/dyndns_api.rst +++ b/network/dyndns_api.rst @@ -2,7 +2,7 @@ DNS dynamique avec l'api de Scaleway et de python ################################################# :date: 2021-10-27 21:00 -:modified: 2021-11-01 23:30 +:modified: 2021-11-02 09:00 :tags: DNS, API, python :category: network :slug: dyndns_online @@ -184,8 +184,9 @@ En me documentant sur l'api d'online, je me suis rendu compte qu'acme.sh permet Jusqu'à présent je mettais à jour mes certificats à la main tous les trois mois (avec quelques raté à l'occasion...). -Il y a juste besoin du token. +Il y a juste besoin du token dans une variable d'environement. .. code-block:: console + $ export ONLINE_API_KEY='xxx' $ acme.sh --issue --dns dns_online -d 0w.tf -d "*.0w.tf" --reloadcmd "nginx -s reload" --server letsencrypt --force