Manage Data Sources
This page details the immuta datasource command, its subcommands and arguments, and the workflow for creating, renaming, and deleting data sources.
Command Overview: immuta datasource
This command allows you to list, save, delete, and rename data sources in your instance of Immuta. The table below illustrates subcommands and arguments.
Use these options to get more details about the datasource command or any of its subcommands:
Add your remote database's connection information in a valid YAML file for the V2 API. Additional payload examples for creating data sources can :
Run immuta datasource save <filepath> [--wait int] [--dryRun], referencing the file you just created. The options you can specify include
The following example illustrates a user saving an updated datasourceInfo.yaml file, first as a dry run and then by specifying that the data sources wait 5 seconds to be created.
Run immuta datasource list keys to view a list of data source connection keys. Options you can specify include
-h or --help: Get more information about the command.
The following example illustrates a user renaming a data source connection key to demonstration.
This command will delete all data sources for the connection key you specify.
Run immuta datasource list keys to view a list of data source connection keys. Options you can specify include
-h or --help: Get more information about the command.
The following example illustrates a user deleting the demonstration connection key and all its data sources.