17 lines
441 B
Python
17 lines
441 B
Python
#!/usr/bin/env python3
|
|
# Copyright (C) 2023 Spearhead Systems SRL - License: GNU General Public License v2
|
|
|
|
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
|