All posts

MCP gateways: what they mean for your access reviews (on Snowflake)

Access reviews that rely on spreadsheets and shared passwords give you a false sense of security. Most Snowflake teams still grant engineers long‑lived credentials, embed them in CI pipelines, and then ask managers to confirm that the right people have access once a month. The review process becomes a paperwork exercise, not a technical guarantee. When an engineer runs a query, the organization has no reliable record of who actually executed it, what data was returned, or whether the operation

Free White Paper

Access Reviews & Recertification + Snowflake Access Control: The Complete Guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free. No spam. Unsubscribe anytime.

Access reviews that rely on spreadsheets and shared passwords give you a false sense of security.

Most Snowflake teams still grant engineers long‑lived credentials, embed them in CI pipelines, and then ask managers to confirm that the right people have access once a month. The review process becomes a paperwork exercise, not a technical guarantee. When an engineer runs a query, the organization has no reliable record of who actually executed it, what data was returned, or whether the operation complied with policy.

In practice, the typical workflow looks like this: a Snowflake account is created with a generic admin user, that user’s key is stored in a vault that developers can read, and any new hire inherits the same secret. Periodic access reviews simply compare a list of usernames against an HR roster. There is no enforcement at the point of query execution, no masking of sensitive columns, and no ability to block a destructive command before it runs. The result is a high‑risk environment where the audit trail is incomplete and compliance evidence is weak.

Why the current approach still falls short

Introducing an MCP (Model‑Control‑Proxy) gateway can centralise authentication for Snowflake, but it does not automatically create the guardrails needed for a trustworthy access review. The gateway can accept an OIDC token and forward it to Snowflake, which solves the problem of rotating static passwords. However, the request still travels directly to Snowflake once the token is validated. At that point the gateway no longer sees the traffic, so it cannot record the query, mask PII in results, or require a manager’s approval for a high‑risk operation. The review process therefore remains dependent on manual checks and on the honesty of the engineers.

The missing piece is a data‑path enforcement layer that sits between the identity token and the Snowflake server. Only a gateway that proxies the entire session can apply real‑time policies, capture immutable logs, and provide the evidence that auditors demand.

hoop.dev as the data‑path solution

hoop.dev fulfills that role. It is a Layer 7 gateway that sits between the authenticated identity and Snowflake. When a user presents an OIDC token, hoop.dev verifies the token, extracts group membership, and then opens a proxied connection to Snowflake on behalf of the user. All traffic flows through hoop.dev, giving it the only place where enforcement can happen.

Because hoop.dev is in the data path, it can enforce a range of controls that directly support effective access reviews:

Continue reading? Get the full guide.

Access Reviews & Recertification + Snowflake Access Control: Architecture Patterns & Best Practices

Free. No spam. Unsubscribe anytime.
  • hoop.dev records each Snowflake session, producing a per‑user audit log that includes the exact SQL statements, timestamps, and result metadata.
  • hoop.dev masks sensitive columns in query results, ensuring that even privileged users never see raw PII unless explicitly authorized.
  • hoop.dev requires just‑in‑time approval for queries that match a risk policy, such as exporting large data sets or altering tables.
  • hoop.dev blocks destructive commands (DROP, ALTER) that are not covered by an approved policy, preventing accidental or malicious schema changes.
  • hoop.dev stores session recordings for replay, allowing reviewers to replay exactly what happened during a flagged incident.

These enforcement outcomes exist only because hoop.dev sits in the data path. If the gateway were removed, the same Snowflake connection would proceed unchecked, and the access review would lose its evidentiary foundation.

How this changes the access‑review workflow

With hoop.dev in place, the access‑review process becomes evidence‑driven rather than claim‑driven. Reviewers can query the audit store for a specific user and time window, see every statement that user executed, and verify whether any masked fields were accessed. Approvals become auditable events linked to the session record. The organization no longer needs to trust that a spreadsheet entry matches reality; the system itself provides the proof.

Because hoop.dev is open source, teams can host the gateway in their own network, ensuring that the audit data never leaves the controlled environment. The MIT license also means you can extend the policy engine to match your internal compliance frameworks without waiting for a vendor release.

Getting started is straightforward. Follow the getting‑started guide to deploy the gateway, configure Snowflake as a connection, and point your Snowflake clients at the hoop.dev endpoint. The learn section provides deeper coverage of policy definitions, masking rules, and approval workflows.

FAQ

What is an MCP gateway?

An MCP gateway is a model‑control‑proxy that authenticates users via standard identity providers and then proxies their traffic to a backend service. It centralises authentication but does not, by itself, enforce fine‑grained policies.

How does hoop.dev integrate with Snowflake?

hoop.dev registers Snowflake as a connection, stores the service credential, and then opens a proxied session on behalf of each authenticated user. All SQL traffic passes through hoop.dev, where it can be inspected, masked, approved, or blocked according to policy.

Why does this matter for access reviews?

Because hoop.dev records every statement, enforces masking, and requires approvals, the audit logs it generates become the primary evidence for access‑review teams. This eliminates reliance on manual spreadsheets and provides audit logs that can be used as evidence for regulatory audits.

Next steps

Explore the source code and contribute to the project on GitHub. The repository includes example policies for Snowflake, deployment manifests, and a community forum for sharing best practices.

Open source

Save the open-source gateway for agent data access

Hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.

Star and save the repo →More posts