secrets/sops-import: check for key.json to exist
This commit is contained in:
parent
1d496c6363
commit
e079627f0f
@ -36,7 +36,7 @@ def import_sops(args: argparse.Namespace) -> None:
|
||||
file=sys.stderr,
|
||||
)
|
||||
continue
|
||||
if (sops_secrets_folder() / k).exists():
|
||||
if (sops_secrets_folder() / k / "key.json").exists():
|
||||
print(
|
||||
f"WARNING: {k} already exists, skipping",
|
||||
file=sys.stderr,
|
||||
|
Loading…
Reference in New Issue
Block a user