snowflake-security-basics

Solid

Apply Snowflake security best practices: network policies, key rotation, MFA, encryption, and least-privilege access. Use when securing Snowflake access, implementing network policies, or auditing security configuration. Trigger with phrases like "snowflake security", "snowflake network policy", "secure snowflake", "snowflake MFA", "snowflake encryption".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Snowflake Security Basics ## Overview Security best practices for Snowflake: network policies, key pair rotation, MFA, secret management, and least-privilege roles. ## Prerequisites - SECURITYADMIN or ACCOUNTADMIN role access - Understanding of network CIDR notation - Secret management solution (Vault, AWS Secrets Manager, etc.) ## Instructions ### Step 1: Create Network Policies ```sql -- Restrict access to known IP ranges CREATE OR REPLACE NETWORK POLICY corporate_policy ALLOWED_IP_LIST = ( '203.0.113.0/24', -- Corporate office '198.51.100.0/24', -- VPN range '10.0.0.0/8' -- Internal network ) BLOCKED_IP_LIST = ( '203.0.113.99' -- Block specific IP ); -- Apply to entire account ALTER ACCOUNT SET NETWORK_POLICY = corporate_policy; -- Or apply to specific user (service account) ALTER USER svc_etl SET NETWORK_POLICY = corporate_policy; -- Verify current policy SELECT * FROM TABLE(INFORMATION_SCHEMA.POLICY_REFERENCES(POLICY_NAME => 'corporate_policy')); ``` ### Step 2: Configure Key Pair Rotation ```bash #!/bin/bash # rotate-snowflake-keys.sh # Generate new key pair openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out rsa_key_new.p8 -nocrypt openssl rsa -in rsa_key_new.p8 -pubout -out rsa_key_new.pub # Extract public key (remove headers and newlines) PUB_KEY=$(grep -v "BEGIN\|END" rsa_key_new.pub | tr -d '\n') echo "Run in Snowflake:" echo "ALTER USER svc_etl SET RSA_PUBLIC_KEY_2 = '${PUB_KEY}';"...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

snowflake-policy-guardrails

Implement Snowflake governance guardrails with network rules, session policies, authentication policies, and automated compliance checks. Use when enforcing security policies, implementing data governance, or configuring automated compliance for Snowflake. Trigger with phrases like "snowflake policy", "snowflake guardrails", "snowflake governance", "snowflake compliance", "snowflake enforce".

2,266 Updated today
jeremylongshore
AI & Automation Featured

snowflake-enterprise-rbac

Configure Snowflake enterprise RBAC with system roles, custom role hierarchies, SSO/SCIM integration, and least-privilege access patterns. Use when implementing role-based access control, configuring SSO with SAML/OIDC, or setting up organization-level governance in Snowflake. Trigger with phrases like "snowflake RBAC", "snowflake roles", "snowflake SSO", "snowflake SCIM", "snowflake permissions", "snowflake access control".

2,266 Updated today
jeremylongshore
AI & Automation Featured

snowflake-install-auth

Install and configure Snowflake driver authentication for Node.js and Python. Use when setting up snowflake-sdk, snowflake-connector-python, key pair auth, OAuth, or SSO browser authentication. Trigger with phrases like "install snowflake", "setup snowflake", "snowflake auth", "snowflake connection", "snowflake key pair".

2,266 Updated today
jeremylongshore
AI & Automation Solid

snowflake-reliability-patterns

Implement Snowflake reliability patterns: replication, failover, Time Travel recovery, and application-level resilience for Snowflake integrations. Use when building fault-tolerant pipelines, configuring disaster recovery, or adding resilience to production Snowflake services. Trigger with phrases like "snowflake reliability", "snowflake failover", "snowflake replication", "snowflake disaster recovery", "snowflake Time Travel".

2,266 Updated today
jeremylongshore
AI & Automation Featured

snowflake-data-handling

Implement Snowflake data governance with masking policies, row access policies, tagging, and GDPR/CCPA compliance patterns. Use when handling PII, implementing column masking, configuring data classification, or ensuring compliance with privacy regulations in Snowflake. Trigger with phrases like "snowflake data governance", "snowflake masking", "snowflake PII", "snowflake GDPR", "snowflake row access policy", "snowflake tags".

2,266 Updated today
jeremylongshore