Commands
As described in the introduction, the Raito CLI provides different commands to serve different use cases.
Access
The access command can be used to implement an access-as-code workflow. It will read access controls from a YAML file and configure these in your data warehouse(s). This command is typically used in a CI/CD workflow.
A full step-by-step guide on how to use this command can be found here. Specific configuration for this command can be found here
To get more information in a terminal window:
$> raito access --help
Run
The run command is used to do a full synchronization between your data warehouse(s) and Raito Cloud as shown on the Introduction page.
The run command can be configured to either run just one full sync and exit immediately after or to keep running and repeat a full sync regularly. In the latter case, the CLI will, between full syncs, also listen continuously for changes to access controls in Raito Cloud and update them in the data warehouse(s). This allows changes to access controls to be applied within seconds.
A guide on how to use this command in combination with Raito Cloud can be found here, and specific configuration for this command can be found here
The get more information in a terminal window:
$> raito run --help
Help
Can be used like this
$> raito run --help
or
raito help run
Info
This command let’s you retrieve information that is provided by a connector.
For example, to get more information about the Snowflake connector you can run
$> raito info raito-io/cli-plugin-snowflake