dataflow.bin.vault_cli¶

Fixed Vault CLI.

A command-line utility to manage vault secrets and model imports, with proper schema mapping for Supabase.

Attributes¶

Functions¶

add_columns(args)

Add the vault reference columns to the database tables using table().

ensure_vault_reference_column(→ bool)

Ensure the table has a vault_reference column for secret references.

execute_sql(→ Any)

Execute SQL safely through Supabase RPC function.

find_module_path(module_name)

Find and import a module from the given paths.

import_module(module_name, module_path)

Import a module from a file path.

main()

Main entry point for the CLI.

run_export(args)

Export secrets from the vault.

run_import(args)

Run the model import.

run_import_secrets(args)

Import secrets into the vault.

run_migrate(args)

Run the vault migration.

run_verify(args)

Run the vault verification.

Module Contents¶

dataflow.bin.vault_cli.add_columns(args)¶

Add the vault reference columns to the database tables using table(). helper.

dataflow.bin.vault_cli.ensure_vault_reference_column(table_name: str) bool¶

Ensure the table has a vault_reference column for secret references. Uses table() helper function for proper schema resolution.

Parameters:

table_name – Full table name including schema

Returns:

True if column exists or was created, False otherwise

dataflow.bin.vault_cli.execute_sql(sql: str) Any¶

Execute SQL safely through Supabase RPC function.

dataflow.bin.vault_cli.find_module_path(module_name)¶

Find and import a module from the given paths.

dataflow.bin.vault_cli.import_module(module_name, module_path)¶

Import a module from a file path.

dataflow.bin.vault_cli.main()¶

Main entry point for the CLI.

dataflow.bin.vault_cli.run_export(args)¶

Export secrets from the vault.

dataflow.bin.vault_cli.run_import(args)¶

Run the model import.

dataflow.bin.vault_cli.run_import_secrets(args)¶

Import secrets into the vault.

dataflow.bin.vault_cli.run_migrate(args)¶

Run the vault migration.

dataflow.bin.vault_cli.run_verify(args)¶

Run the vault verification.

dataflow.bin.vault_cli.logger¶
dataflow.bin.vault_cli.script_dir¶