fix: rename secrets.py → vault.py to avoid shadowing stdlib secrets module
Some checks failed
CI / test-cli (push) Failing after 10s
CI / test-sqlmesh (push) Failing after 9s
CI / test-web (push) Successful in 15s
CI / tag (push) Has been skipped

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Deeman
2026-02-28 23:33:06 +01:00
parent 79ce3f2913
commit 9201a4dca9
4 changed files with 5 additions and 5 deletions

View File

@@ -113,7 +113,7 @@ app.add_typer(secrets_app, name="secrets")
@secrets_app.command("list")
def secrets_list():
"""List available secrets (keys only)."""
from beanflows_pipeline.secrets import list_secrets
from beanflows_pipeline.vault import list_secrets
secrets = list_secrets()
if not secrets:
@@ -130,7 +130,7 @@ def secrets_get(
key: Annotated[str, typer.Argument(help="Secret key")],
):
"""Get a secret value."""
from beanflows_pipeline.secrets import get_secret
from beanflows_pipeline.vault import get_secret
value = get_secret(key)
if value is None:
@@ -143,7 +143,7 @@ def secrets_get(
@secrets_app.command("test")
def secrets_test():
"""Test sops decryption (verifies sops is installed and age key is present)."""
from beanflows_pipeline.secrets import test_connection
from beanflows_pipeline.vault import test_connection
typer.echo("Testing SOPS decryption...")
if test_connection():