added password store option for api-key
This commit is contained in:
@@ -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 == ""):
|
||||
|
||||
Reference in New Issue
Block a user