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:
kanidm_admin_token = subprocess.check_output(
[
"kanidmd",
"recover-account",
"-c",
"/etc/kanidm/server.toml",
"idm_admin",
"-o",
"json",
"kanidm",
"service-account",
"api-token",
"generate",
"--rw",
"selfprivacy",
"token2",
],
text=True,
)