From 9940fa0936e1d0863668e6a6843e916ee9566773 Mon Sep 17 00:00:00 2001 From: Akseli Lukkarila Date: Sat, 26 Oct 2024 11:32:08 +0300 Subject: [PATCH] fix exists call :facepalm: --- python-pyo3/python/n_vault/vault.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-pyo3/python/n_vault/vault.py b/python-pyo3/python/n_vault/vault.py index 503e9480..a0ce6dca 100644 --- a/python-pyo3/python/n_vault/vault.py +++ b/python-pyo3/python/n_vault/vault.py @@ -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)