Skip to content

Commit

Permalink
fix exists call 🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
Esgrove committed Oct 26, 2024
1 parent 27ba681 commit 9940fa0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python-pyo3/python/n_vault/vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,14 @@ def encrypt(
def exists(ctx: typer.Context, key: str):
"""Check if a key exists"""
config: Config = ctx.obj
result = nitor_vault.encrypt(
result = nitor_vault.exists(
key,
config.vault_stack,
config.region,
config.bucket,
config.key_arn,
config.prefix,
config.quiet,
)
if not result:
raise typer.Exit(code=5)
Expand Down

0 comments on commit 9940fa0

Please sign in to comment.