clay-security-basics

Featured

Apply Clay security best practices for API keys, webhook secrets, and data access control. Use when securing Clay integrations, rotating API keys, auditing access, or implementing webhook authentication. Trigger with phrases like "clay security", "clay secrets", "secure clay", "clay API key security", "clay webhook security".

AI & Automation 2,926 stars 433 forks Updated yesterday 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

# Clay Security Basics ## Overview Security best practices for Clay integrations covering API key management, webhook endpoint security, provider credential isolation, and lead data protection. Clay handles sensitive PII (emails, phone numbers, LinkedIn profiles) at scale, making security critical. ## Prerequisites - Clay account with admin access - Understanding of environment variables and secrets management - Access to deployment platform's secrets manager ## Instructions ### Step 1: Secure API Key Storage ```bash # .env (NEVER commit to git) CLAY_API_KEY=clay_ent_your_api_key_here CLAY_WEBHOOK_URL=https://app.clay.com/api/v1/webhooks/your-id # .gitignore — add these patterns .env .env.local .env.*.local *.key ``` For production, use your platform's secrets manager: ```bash # GitHub Actions gh secret set CLAY_API_KEY --body "clay_ent_your_key" # Google Cloud Secret Manager echo -n "clay_ent_your_key" | gcloud secrets create clay-api-key --data-file=- # AWS Secrets Manager aws secretsmanager create-secret \ --name clay/api-key \ --secret-string "clay_ent_your_key" ``` ### Step 2: Authenticate Incoming Webhook Callbacks When Clay's HTTP API columns call your endpoint, validate the request origin: ```typescript // src/middleware/clay-auth.ts import crypto from 'crypto'; const CLAY_WEBHOOK_SECRET = process.env.CLAY_WEBHOOK_SECRET!; function verifyClayCallback( payload: string, signature: string | undefined ): boolean { if (!signature || !CLAY_WEBHOOK...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category