Snowflake Secure Data Sharing: A Practical Setup Guide
Frenkie
· 13 min read

Most Snowflake secure data sharing guides stop at CREATE SHARE, confirm that the consumer can query a database, and call the job finished. That advice is incomplete. The difficult work starts after access is granted, when identities change, consumers reshare data, regions diverge, and security teams need to prove who used what.
Snowflake's model is powerful because it provides live, read-only access without copying data between accounts, but “no data movement” isn't the same as “no exposure risk.” The share object controls one boundary. Identity, account policies, secure views, monitoring, revocation, and downstream behavior control the rest. Snowflake's documentation describes secure sharing as a way to expose selected database objects directly to another Snowflake account, with secure views as the supported view type for shares and with less dependence on ETL pipelines or manual exports Snowflake's provider documentation.
The practical approach is to treat every share as a standing privilege. Build it carefully, operate it deliberately, and test what happens when you remove it.
Why Snowflake Secure Data Sharing Is a Control Problem, Not a Convenience
The popular pitch focuses on zero-copy access and frictionless collaboration. Those properties matter, but they describe the transport model, not the security outcome. A consumer imports the share into its own account, queries shared objects as read-only data, and may incur query compute costs rather than storage costs for the shared data, as described in Snowflake's secure data sharing introduction.
That arrangement removes an ETL handoff, but it doesn't remove trust. The provider still has to decide which objects are exposed, which accounts can consume them, whether resharing is permitted, and how access will be withdrawn. A share is also not a temporary invitation by default. Unless your operating process adds an expiration policy, it behaves like a continuing privilege that can outlive the project, contract, or employee who requested it.
The 2024 Snowflake customer attacks reinforced a lesson that applies beyond shares. Network access policies, multifactor authentication, credential hygiene, and account-level governance remain essential because a correctly configured share can still be accessed through a compromised consumer identity. Secure sharing is one control layer, not a substitute for identity protection. Teams mapping the wider privacy context can also use the GDPR compliance framework when deciding how shared data, recipients, and revocation obligations fit into their control environment.
Practical rule: Treat a Snowflake share like a service account. Give it a named owner, a documented purpose, an approved consumer, and a revocation procedure.
The lifecycle has four distinct points where production failures occur:
Creation: The provider exposes too much data or grants privileges to the wrong account.
Modification: A view, schema, or replication topology changes without a corresponding review.
Consumption: The recipient mounts the share, applies its own access controls, and potentially enables downstream use.
Revocation: The provider removes access, but fails to understand what the consumer has already queried, derived, or reshared.
The CREATE SHARE command is only the first checkpoint. The main challenge is keeping the privilege understandable and reversible for as long as it exists.
How the Share Model Actually Works
A Snowflake share is a named provider-side container for selected database objects. It isn't a grant directly attached to a consumer database. The provider grants privileges to the share, adds consumer accounts, and the recipient imports that share into its own account as a read-only database. Snowflake documents this as a model where the shared objects stay read-only and data isn't physically copied between accounts Snowflake's sharing overview.
The provider controls the contents of the share. The consumer controls how its own users and roles query the imported database. That split is the architectural feature and the operational boundary.
Component | Provider Control | Consumer Control |
|---|---|---|
Share object | Creates the share and defines its name | Can't alter the provider's share definition |
Database and schema privileges | Grants | Maps imported objects into its own account |
Object privileges | Grants | Queries shared objects as read-only data |
Account membership | Adds or removes consumer accounts | Accepts the share and creates a database from it |
Compute behavior | Defines exposed objects and their design | Runs queries and manages warehouse usage in its account, subject to the platform's sharing model |
The provider-side sequence usually looks like this:
Create a share.
Grant database, schema, and object privileges to that share.
Add consumer accounts.
Validate the resulting grants.
Ask the consumer to locate the share and select Get Data, which creates a database from the share.
The privilege granularity matters. Granting USAGE on a database or schema establishes the path to the object, but it doesn't expose data by itself. SELECT on an individual object determines which data can be queried. Adding a schema can simplify administration, but it can also widen the future blast radius when new objects are introduced or when the schema contains more sensitive content than the original request anticipated. For sensitive sharing, explicit object grants are easier to review.
Secure views are first-class controls, not decorative wrappers. Snowflake recommends secure views, secure materialized views, and secure UDFs instead of directly sharing tables, while clustering keys on the underlying large tables can support performance Snowflake's getting-started guidance. In practice, the view is where you remove columns, constrain rows, and create a stable contract for the consumer.
Observability needs its own design. Share metadata, grants, query history, and reader activity should feed an inventory that answers three questions quickly: what is shared, who can consume it, and who is using it. A share can be technically correct while remaining operationally opaque, which is where access reviews and incident response become slow.
Setting Up a Provider Share Step by Step
Start from a controlled role context. A dedicated sharing role is preferable to making routine sharing work depend on a broad human administrator role, but the exact role design must match your account governance.
USE ROLE ACCOUNTADMIN;
CREATE SHARE partner_analytics_share;
Use a descriptive name that identifies the business purpose and recipient class. Avoid names such as TEMP_SHARE or TEST_DATA, which become ambiguous when they survive into production.
Next, grant the minimum navigation and data privileges:
GRANT USAGE ON DATABASE ANALYTICS
TO SHARE partner_analytics_share;
GRANT USAGE ON SCHEMA ANALYTICS.PUBLISHED
TO SHARE partner_analytics_share;
GRANT SELECT ON VIEW ANALYTICS.PUBLISHED.customer_summary
TO SHARE partner_analytics_share;
For data containing personal information, share a secure view, not the base table. Put column minimization in the projection and row restrictions in the view definition. A provider-enforced WHERE clause is materially stronger than asking the recipient to remember a filter in every downstream query. If the data is large, follow Snowflake's recommendation to consider clustering keys on the base tables supporting the secure objects, then test query behavior before consumers begin running broad analytical workloads.
Add the approved consumer account only after validating its locator and organizational ownership:
ALTER SHARE partner_analytics_share
ADD ACCOUNT = <consumer_account_locator>;
The locator must be checked against the recipient's confirmed account details. Don't treat an account identifier copied from an informal message as sufficient approval. For privacy-sensitive workflows, pair the technical review with a tool category focused on PII redaction and data privacy, especially when the view design depends on identifying and removing sensitive fields.
Retrieve the share reference when the consumer needs a URL or listing detail:
SHOW SHARES;
The consumer can then find the listing under private or external sharing and select Get Data. On the provider side, additions and removals should use ALTER SHARE, not an improvised replacement process:
GRANT SELECT ON VIEW ANALYTICS.PUBLISHED.order_summary
TO SHARE partner_analytics_share;
REVOKE SELECT ON VIEW ANALYTICS.PUBLISHED.customer_summary
FROM SHARE partner_analytics_share;
Finish with an explicit grant check:
SHOW GRANTS TO SHARE partner_analytics_share;
That output should become part of the change record. It tells the reviewer whether the share contains the intended database, schema, and objects, and it catches accidental grants before the recipient begins querying.
Sharing Across Regions and Cloud Platforms
Cross-region and cross-cloud sharing turns a simple access decision into a distributed governance problem. Snowflake's documented workflow uses a replication group containing databases and shares, then replicates that group to the regions where consumers need access Snowflake's cross-region and cross-platform sharing documentation.
The architecture decision should begin with residency and compute requirements, not with the replication button. A direct sharing pattern may preserve the provider's centralized data location, while a replicated pattern places governed data closer to consumers. Replication can introduce another copy to govern, another status to monitor, and another failure mode to document. A direct pattern can create a different operational compromise if consumer workloads must execute against data in the provider's region.
Pin every account locator, region, cloud platform, and intended consumer in the change record. Don't write “EU consumer” or “cloud partner” and assume that label is enough. The actual account and region determine whether the design works and whether the residency interpretation is defensible.
A practical review covers four questions:
Replication scope: Which databases and shares belong in the replication group?
Consumer placement: Where will the recipient create its imported database?
Failure behavior: What happens if replication is delayed, unavailable, or promoted?
Policy inheritance: Which security controls and account policies must be recreated or explicitly enabled on the destination?
Snowflake also describes combining multiple databases and shares through a replication group so the same share can be consumed across another region or cloud platform. That helps preserve a consistent publication boundary, but it doesn't eliminate destination-side governance. Every replicated share still needs an owner, grant review, monitoring, and a documented removal path.
The consumer workflow remains comparatively light. The recipient locates the share under private or external sharing and selects Get Data to create a database from it. The lightweight import experience shouldn't be mistaken for a lightweight compliance decision. The consumer's account, roles, network controls, authentication policies, and downstream sharing settings remain part of the effective control surface.
Revocation, Resharing, and the Blast Radius
Granting access is easy. Taking it back cleanly is where most designs become vague.
The provider can remove an account from a share or revoke privileges on shared objects. That stops the provider-side authorization path, but it doesn't answer every downstream question. A recipient may have queried the data, created derived datasets inside its own environment, or passed access onward where the sharing model permits it. “No copy” reduces pipeline duplication, but it doesn't erase information already used by the consumer.
Resharing deserves explicit approval. Snowflake documents that consumers can reshare imported data in some circumstances, while providers can revoke access. The key operational question is whether the provider understands that downstream relationship before enabling it. Once a consumer can pass data to its own partners, the provider's direct administrative boundary no longer describes the entire blast radius.
The revocation test is not “can I remove the account?” It's “what still exists, who depends on it, and what can't I retract?”
Use a repeatable review rather than relying on memory:
Map dependencies: Record the consumer account, imported database, business owner, downstream users, and any approved resharing relationship.
Inspect grants: Run
SHOW GRANTS ON <object>and compare the result with the approved share definition.Trace activity: Use Snowflake usage and access-history views to identify queries and reader activity, then preserve the relevant evidence before changing access.
Remove deliberately: Revoke object privileges or remove the consumer account through
ALTER SHARE, then confirm the resulting grants.Test the consumer path: Ask the recipient to demonstrate what fails after revocation and identify any data products that remain available locally.
Control | Stops | Does Not Stop |
|---|---|---|
Revoke object privilege | Further access to the revoked object through the provider share | Data already queried or derived by the consumer |
Remove a consumer account | Continued access through that account's share membership | Separate downstream copies or previously approved reshares |
Secure view filtering | Exposure of columns and rows excluded by the view | Consumer misuse of data that the view intentionally exposes |
Grant review | Unapproved objects and stale permissions | Activity that occurred before the review |
Query and reader monitoring | Unexplained or unauthorized use that generates observable activity | Data retained or transformed outside the provider's account |
Snowflake's documentation emphasizes governed access, auditability, revocation, and secure objects, but it doesn't fully resolve every buyer's downstream question. Teams still need to determine how consumers may create derivative objects, how resharing is approved, and which monitoring signals cross account and region boundaries.
The operating answer is a runbook. Name an owner, define the trigger, list the SQL checks, record the consumer notification path, and require evidence that the revocation worked. Review every share periodically, especially when a contract, region, data classification, or consumer owner changes.
Governance Checklist for Security and Compliance Teams
A security review should produce pass or fail evidence, not a paragraph saying that sharing is “secure.” The following checklist turns the platform configuration into an approval record.
Identity and access
Account ownership: Confirm that every consumer locator belongs to an approved organization and named business owner.
Human access: Keep human users out of the provider-side sharing identity path. Manage account access through the consumer organization's governed roles, authentication, and network policies.
Authentication controls: Require strong account-level protections, including multifactor authentication where applicable, because a share doesn't compensate for compromised credentials.
Privilege scope: Verify that the share contains only the approved objects and that
SHOW GRANTS TO SHAREmatches the request.
Data minimization
Secure publication layer: Use secure views, secure materialized views, or secure UDFs instead of exposing raw tables where the data needs masking or controlled projection.
Row and column boundaries: Confirm that filters and column exclusions are enforced in the published objects, not merely documented for consumers.
Sensitive data review: Search the published schema for personal information and document why each exposed field is necessary. Teams can use PII redaction resources to support this review.
Contractual and residency controls
Match the data processing agreement to the actual consumer account and document the approved account locator. Compare contractual residency language with the replication topology, destination regions, and any cross-cloud access path. For teams exchanging approval records or regulated documents around the share, a resource on secure proposal sharing can help connect document controls with the broader data-sharing process.
Observability
Activity evidence: Define which Snowflake usage and access-history views the provider will inspect and how long evidence must remain available under internal policy.
Consumer changes: Alert when a new consumer is added to an existing share or when the object list changes.
Review cadence: Assign a recurring grant review and record exceptions, owners, and closure dates.
Incident response
Keep a written revocation procedure with named owners and a target recovery objective. Test the procedure, including consumer notification, grant verification, activity preservation, and downstream dependency assessment. A runbook that exists only in a wiki and has never been exercised isn't a dependable control.
Putting It All Together This Week
A platform owner can turn this into a focused operating cadence.
Monday, inventory the environment. Run SHOW SHARES, SHOW GRANTS TO SHARE, and targeted ACCOUNT_USAGE.QUERY_HISTORY queries to identify active shares, exposed objects, consumer accounts, and recent use. Put every result beside an owner and business purpose.
Tuesday, create a single source of truth for share metadata in a dedicated governance database. Include the share name, consumer locator, object grants, classification, region, replication status, approval date, owner, and revocation procedure. A view joining share, grant, and replication information is more useful than separate spreadsheets that drift apart.
Thursday, run the blast-radius exercise against the largest or most sensitive share. Trace consumer dependencies, identify any approved downstream sharing, and document what breaks when you remove an object or account. Don't wait for an incident to discover that a reporting process depends on an undocumented grant.
Friday, apply the governance checklist to every share, log exceptions, assign remediation owners, and schedule the next review. Keep the cadence repeatable. Snowflake secure data sharing becomes manageable when creation, modification, monitoring, and revocation are ordinary operating tasks rather than emergency work.
AI Compliance Index offers an independent directory for comparing AI compliance, security, and governance tools with structured, human-readable information. Visit AI Compliance Index to find relevant resources for documenting privacy reviews, access controls, and governance decisions around shared data environments.