Configuring Snowflake application
- Print
- PDF
Configuring Snowflake application
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Custom Role
Britive needs a custom role to connect to Snowflake and collect/grant roles to users.
Follow the steps to create a custom role:
- Login to Snowflake Console with ACCOUNTADMIN or SECURITYADMIN privilege.
- Run the following queries to create a custom role and assign the required privileges. For more information, see Creating a Custom Role.
- create role BRITIVEROLE
- grant manage grants on account to role BRITIVEROLE
- For managing Snowflake accounts using organization, assign ORGADMIN to the custom role using the query: grant role ORGADMIN to role BRITIVEROLE.
Note:
Make sure to run this query from an account that has the ORGADMIN role enabled.
User Account
Britive requires a user account with the custom role created above to connect to Snowflake REST endpoints and execute queries.
Follow the steps to create a user account:
- Create a new user in Snowflake. For more information, see Creating Users.
Generate a public-private key pair and assign it to the user. Optionally, you can create a password-protected private key. For more details, see Configuring Key Pair Authentication.
Assign the custom role created above to the user using the query: grant role <custom role> to user <BRITIVEUSER>.
Was this article helpful?