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

@@ -6,6 +6,7 @@ import requests
import urllib3
import json
import os
import cmk.utils.password_store
from pprint import pprint
from requests.structures import CaseInsensitiveDict
from requests.auth import HTTPBasicAuth
@@ -391,6 +392,7 @@ def doCmkOutputDomains() -> None:
def main():
global debugLogFilename
cmk.utils.password_store.replace_passwords()
getOptions()
# do some parameter checks
if (opt_hostname == ""):