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 the vault reference columns to the database tables using table(). |
|
Ensure the table has a vault_reference column for secret references. |
|
Execute SQL safely through Supabase RPC function. |
|
Find and import a module from the given paths. |
|
Import a module from a file path. |
|
Main entry point for the CLI. |
|
Export secrets from the vault. |
|
Run the model import. |
|
Import secrets into the vault. |
|
Run the vault migration. |
|
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.
- 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.