dataflow.registry.bin.vault_cli¶

Fixed Vault CLI.

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

Functions¶

add_columns(args)

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

ensure_vault_reference_column(table_name)

Ensure the table has a vault_reference column for secret references.

execute_sql(sql)

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.registry.bin.vault_cli.add_columns(args)¶

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

dataflow.registry.bin.vault_cli.ensure_vault_reference_column(table_name)¶

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

Parameters:

table_name (str) – Full table name including schema

Returns:

True if column exists or was created, False otherwise

Return type:

bool

dataflow.registry.bin.vault_cli.execute_sql(sql)¶

Execute SQL safely through Supabase RPC function.

Parameters:

sql (str)

Return type:

Any

dataflow.registry.bin.vault_cli.find_module_path(module_name)¶

Find and import a module from the given paths.

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

Import a module from a file path.

dataflow.registry.bin.vault_cli.main()¶

Main entry point for the CLI.

dataflow.registry.bin.vault_cli.run_export(args)¶

Export secrets from the vault.

dataflow.registry.bin.vault_cli.run_import(args)¶

Run the model import.

dataflow.registry.bin.vault_cli.run_import_secrets(args)¶

Import secrets into the vault.

dataflow.registry.bin.vault_cli.run_migrate(args)¶

Run the vault migration.

dataflow.registry.bin.vault_cli.run_verify(args)¶

Run the vault verification.