From 9170e9823d29f9488ee3a6dd796ca8a66f25edf8 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Sun, 28 Dec 2025 18:34:03 +0000 Subject: Make mythic beasts secrets available to lego mercuric.uk is now using Mythic Beasts instead of deSEC for DNS, and I'll be moving the other domains shortly. As a result, I would like to be able to select between providers them in the config file. As a first step towards supporting Mythic Beasts, pass the API key ID and secret to lego. We can do this in all circumstances: it will be unused if we don't specify mythicbeasts when the command is invoked. --- renew-all | 3 +++ 1 file changed, 3 insertions(+) (limited to 'renew-all') diff --git a/renew-all b/renew-all index 04e9314..89fb4bc 100755 --- a/renew-all +++ b/renew-all @@ -40,6 +40,9 @@ def main() -> None: environment = { "DESEC_POLLING_INTERVAL": str(config["timeout_seconds"]), "DESEC_TOKEN": config["desec_token"], + "MYTHICBEASTS_PASSWORD": config["mythic_beasts_secret"], + "MYTHICBEASTS_POLLING_INTERVAL": str(config["timeout_seconds"]), + "MYTHICBEASTS_USERNAME": config["mythic_beasts_key_id"], } logging.info(f"Running command {command}") subprocess.run(command, env=environment) -- cgit v1.2.3