motherduck-security-governance

Translate compliance requirements into MotherDuck isolation boundaries and credential recommendations.

53|3|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/motherduckdb/agent-skills --skill motherduck-security-governance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: motherduck-security-governance
Source: https://github.com/motherduckdb/agent-skills/tree/main/plugins/motherduck-skills-claude/skills/motherduck-security-governance
Command: npx skills add https://github.com/motherduckdb/agent-skills --skill motherduck-security-governance

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps clarify and design secure governance and access-control patterns in MotherDuck by aligning the requested security posture with the actual isolation and sharing boundaries that exist in the workspace.

Core Features & Use Cases

  • Security and governance guidance: Produces safe defaults for credentials, isolation boundaries, and administrative vs consumer responsibilities.
  • Boundary-first architecture framing: Distinguishes account, database, schema, Dive, share, and query-filter approaches so claims match the real control boundary.
  • Governance-safe verification: Recommends checking live metadata (owned/shared databases and shares) and aligning answers with publicly documented security anchors.
  • SSO, residency, and recovery considerations: Helps structure questions around SSO organization controls, region/residency constraints, and recovery/retention guidance without overstating guarantees.

Quick Start

Ask for a governance-safe recommendation by providing your intended isolation boundary (share vs Dive vs database vs query filter), credential approach (service accounts vs tokens), and residency/compliance needs, and then request a checklist-style response tailored to your architecture.

Frequently Asked Questions about motherduck-security-governance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure SSO and access control for a production analytics workload?

Configuring SSO and access control requires mapping your organization's identity provider to workspace roles and isolating administrative functions from consumer queries to maintain a secure production analytics workload.

What is the difference between data sharing and Dives for isolating access boundaries?

Data sharing and Dives represent different isolation boundaries in MotherDuck, where shares explicitly push data access to external accounts while Dives provide interactive query-level isolation within the existing workspace.

How do I set up service accounts for governed data access?

Setting up service accounts for governed data access involves replacing individual user credentials with dedicated tokens to enforce consistent isolation boundaries and maintain secure, auditable governance across automated workloads.

Can I enforce data residency constraints for compliance in the cloud?

Data residency constraints are framed by the cloud region your workspace occupies, and compliance is maintained by aligning your workload's deployment region with organizational data sovereignty requirements.

What's the best way to verify security boundaries before a production rollout?

The best way to verify security boundaries before a production rollout is checking live workspace metadata, including owned and shared databases, to ensure your governance posture matches publicly documented security anchors.

Why does my current credential approach fail governance requirements?

Your current credential approach fails governance requirements because it relies on user-level tokens instead of service accounts, breaking the necessary isolation boundaries between administrative and consumer data access.