added password store option for api-key

This commit is contained in:
mellis
2024-01-26 11:39:01 +01:00
parent f06a32bf80
commit 276e67d473
3 changed files with 17 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
def agent_mailcow_arguments(params, hostname, ipaddress):
return [
"--hostname", params["hostname"],
"--apikey", params["apikey"],
"--apikey", passwordstore_get_cmdline("%s", params["apikey"]),
"--port", params["port"],
"--no-https", params["no_https"],
"--no-cert-check", params["no_cert_check"],