azure_keyvault/local/share/check_mk/checks/agent_azure_keyvault

17 lines
398 B
Python

#!/usr/bin/env python3
# Copyright 2023, Spearhead Systems SRL.
def agent_azure_keyvault(params, hostname, ipaddress):
tenant = params["tenant"]
client = params["client"]
secret = params["secret"]
args = [tenant, client, secret]
for vault in params["vaults"]:
args.extend([vault.strip()])
return args
special_agent_info["azure_keyvault"] = agent_azure_keyvault