Airbyte
Since SnowDDL v0.27, it is possible to natively configure database, user and permissions for Airbyte.
How to configure Airbyte with SnowDDL?
1) Create custom permission model
Configuration guide for PERMISSION MODEL
2) Create database
Configuration guide for DATABASE
3) Create business role
Configuration guide for BUSINESS ROLE
4) Create user
5) Finish configuration in Airbyte GUI
It is highly recommended to change name of schema airbyte_internal
to UPPER-case, e.g. AIRBYTE_INTERNAL
. Lower-cased identifiers are not supported by SnowDDL, so you won't be able to set granular access on schema with lower-cased name.
How to grant access to objects created by Airbyte?
You may grant read access on all objects inside Airbyte database by using database_read
parameter for BUSINESS ROLE.
For example:
If you want to provide granular on per-schema basis, it requires a bit more work.
Explicitly configure schema(s) in Airbyte database by creating corresponding sub-directories with
params.yaml
files inside.Use parameter
schema_read
for BUSINESS ROLE.
For example:
SnowDDL can only create "schema roles" for schemas which are explicitly defined in config.
Last updated