Build an app accessing Snowflake with end-user roles
This guide walks you through building an application that accesses Snowflake data based on the end-user’s role, using OAuth in Windmill. By leveraging dynamic role-based credentials from Snowflake’s OAuth integration, we avoid static credentials and enable secure data access customized for each user. This can be particularly useful for organizations with strict data access policies and multiple user roles where row access policies are set up.
The tutorial includes steps to set up Snowflake OAuth, configure user roles, and create UI components in Windmill for a seamless, role-specific data experience.
Note that the mechanism of using the end-user's role demonstated here with Snowflake can be used for any OAuth-supported resource in Windmill such as GitHub, Slack, or Google Workspace.