Skip to content

Commit

Permalink
Update snowflake-privatelink.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyyeo authored Nov 19, 2024
1 parent 3eaa421 commit 3c860fe
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions website/docs/docs/cloud/secure/snowflake-privatelink.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,27 +97,26 @@ Once dbt Cloud support completes the configuration, you can start creating new c
4. Configure the remaining data platform details.
5. Test your connection and save it.

## Enable the connection in Snowflake
## Enable the connection in Snowflake (Azure)

To complete the setup, follow the remaining steps from the Snowflake setup guides. The instructions vary based on the platform:

- [Snowflake AWS PrivateLink](https://docs.snowflake.com/en/user-guide/admin-security-privatelink)
- [Snowflake Azure Private Link](https://docs.snowflake.com/en/user-guide/privatelink-azure)
- [Azure private endpoints for internal stages](https://docs.snowflake.com/en/user-guide/private-internal-stages-azure)

There are some nuances for each connection and you will need a Snowflake administrator. As the Snowflake administrator, call the `SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS` function using the privateEndpointResourceID value as the function argument. This authorizes access to the Snowflake internal stage through the private endpoint.

```sql

USE ROLE ACCOUNTADMIN;

-- AWS PrivateLink
SELECT SYSTEMS$AUTHORIZE_STATE_PRIVATELINK_ACCESS ( `AWS VPC ID` );

-- Azure Private Link
SELECT SYSTEMS$AUTHORIZE_STATE_PRIVATELINK_ACCESS ( `AZURE PRIVATE ENDPOINT RESOURCE ID` );
SELECT SYSTEMS$AUTHORIZE_STAGE_PRIVATELINK_ACCESS ( `AZURE PRIVATE ENDPOINT RESOURCE ID` );

```

AWS private internal stages are not not currently supported.

Check warning on line 118 in website/docs/docs/cloud/secure/snowflake-privatelink.md

View workflow job for this annotation

GitHub Actions / vale

[vale] website/docs/docs/cloud/secure/snowflake-privatelink.md#L118

[custom.Repitition] 'not' is repeated!
Raw output
{"message": "[custom.Repitition] 'not' is repeated!", "location": {"path": "website/docs/docs/cloud/secure/snowflake-privatelink.md", "range": {"start": {"line": 118, "column": 33}}}, "severity": "WARNING"}

## Configuring Network Policies
If your organization uses [Snowflake Network Policies](https://docs.snowflake.com/en/user-guide/network-policies) to restrict access to your Snowflake account, you will need to add a network rule for dbt Cloud.

Expand Down

0 comments on commit 3c860fe

Please sign in to comment.