Giving access to Snowflake data
1. Give access to Whaly BI to a Snowflake database
set whaly_bi_role = 'WHALY_BI_ROLE';
set snowflake_database = 'INSERT_PROPER_DATABASE_NAME_TO_EXPOSE_IN_WHALY_BI';
grant USAGE
on database identifier($snowflake_database)
to role identifier($whaly_bi_role);2. Wide access | Give access to Whaly BI to ALL Schemas and ALL Tables located in a Snowflake database
set whaly_bi_role = 'WHALY_BI_ROLE';
set snowflake_database = 'INSERT_PROPER_DATABASE_NAME_TO_EXPOSE_IN_WHALY_BI';
USE DATABASE identifier($snowflake_database);
grant USAGE
on all schemas in database identifier($snowflake_database)
to role identifier($whaly_bi_role);
grant SELECT
on all tables in database identifier($snowflake_database)
to role identifier($whaly_bi_role);
grant SELECT
on future tables in database identifier($snowflake_database)
to role identifier($whaly_bi_role);2bis. Granular access | Give access to Whaly BI to a SINGLE Schema and ALL its Tables located in a Snowflake database
Last updated
Was this helpful?
