Required Privileges and Custom Roles
The Snowflake origin requires a Snowflake role that grants the following privileges:
Object | Privilege |
---|---|
Internal Snowflake Stage | READ |
Table | SELECT |
If you create a custom role with the required privileges, define the
role that the stage uses in one of the following ways:
- Assign the custom role as the default role
- In Snowflake, assign the custom role as the default role for the Snowflake user account specified in the stage. A Snowflake user account is associated with a single default role.
- Override the default role with the custom role
- In the stage, use the Role property to specify the name of the custom role. The custom role overrides the role assigned to the Snowflake user account specified in the stage.
- Use a Snowflake connection
- When working with Control Hub, you can configure a Snowflake connection to provide connection details for Snowflake stages.