fix: wrong kanidm command

This commit is contained in:
dettlaff 2024-11-22 23:27:38 +04:00
parent 7ade8f8d01
commit 798f1631af

View file

@ -56,13 +56,13 @@ class KanidmAdminToken:
try: try:
kanidm_admin_token = subprocess.check_output( kanidm_admin_token = subprocess.check_output(
[ [
"kanidmd", "kanidm",
"recover-account", "service-account",
"-c", "api-token",
"/etc/kanidm/server.toml", "generate",
"idm_admin", "--rw",
"-o", "selfprivacy",
"json", "token2",
], ],
text=True, text=True,
) )