-
hey everyone, actually working on a ansible playbook which should use LEGO as acme client. In the past i used acme.sh, so thats why this dumb question comes up... For example using Hetzner DNS provider, i do a:
which is temporary setting the Environment Variable or path to the file... Then i would run for example:
After this, does LEGO stores my environment variable set above anywhere or is it needed each time if the session was closed in between? So acme.sh saves it to be able to renew and i mostly think LEGO will do also - but just want to be sure ^^.... //Edit |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, lego doesn't save environment variables, for security reasons. But you can use env vars prefixed by https://go-acme.github.io/lego/dns/hetzner/index.html#credentials |
Beta Was this translation helpful? Give feedback.
yes, the file management must be done by yourself.
Your example is right.