File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
docs/pages/product/configuration/data-sources Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 44
55## Prerequisites
66
7+ <InfoBox >
8+
9+ In order to connect Cube to Snowflake, you need to grant certain permissions to the Snowflake role
10+ used by Cube. Cube requires the role to have ` USAGE ` on databases and schemas
11+ and ` SELECT ` on tables. An example configuration:
12+ ```
13+ GRANT USAGE ON DATABASE ABC TO ROLE XYZ;
14+ GRANT USAGE ON ALL SCHEMAS IN DATABASE ABC TO ROLE XYZ;
15+ GRANT USAGE ON FUTURE SCHEMAS IN DATABASE ABC TO ROLE XYZ;
16+ GRANT SELECT ON ALL TABLES IN DATABASE ABC TO ROLE XYZ;
17+ GRANT SELECT ON FUTURE TABLES IN DATABASE ABC TO ROLE XYZ;
18+ ```
19+
20+ </InfoBox >
21+
722- [ Account/Server URL] [ snowflake-docs-account-id ] for Snowflake.
823- User name and password or an RSA private key for the Snowflake account.
924- Optionally, the warehouse name, the user role, and the database name.
@@ -200,4 +215,4 @@ connections are made over HTTPS.
200215[ snowflake-format-2 ] : https://docs.snowflake.com/en/user-guide/admin-account-identifier#format-2-account-locator-in-a-region
201216[ snowflake-docs-azure ] : https://docs.snowflake.com/en/user-guide/data-load-azure-config#option-1-configuring-a-snowflake-storage-integration
202217[ azure-bs-docs-get-key ] : https://docs.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json&tabs=azure-portal#view-account-access-keys
203- [ link-snowflake-quoted-identifiers ] : https://docs.snowflake.com/en/sql-reference/identifiers-syntax#double-quoted-identifiers
218+ [ link-snowflake-quoted-identifiers ] : https://docs.snowflake.com/en/sql-reference/identifiers-syntax#double-quoted-identifiers
You can’t perform that action at this time.
0 commit comments