clari-security-basics

Featured

Secure Clari API tokens and implement data handling best practices. Use when managing API tokens, restricting data access, or implementing PII handling for exported forecast data. Trigger with phrases like "clari security", "clari api key rotation", "secure clari", "clari pii handling".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 97/100

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

Skill Content

# Clari Security Basics ## Overview Secure your Clari integration: API token management, exported data PII handling, and access control best practices. ## Instructions ### Step 1: Token Management ```bash # Store token in secrets manager aws secretsmanager create-secret \ --name "clari/prod/api-token" \ --secret-string "${CLARI_API_KEY}" # In CI/CD, load from secrets export CLARI_API_KEY=$(aws secretsmanager get-secret-value \ --secret-id "clari/prod/api-token" --query SecretString --output text) ``` **Rotation**: Clari API tokens are generated per-user. To rotate, generate a new token in User Settings, update all consumers, then discard the old one. ### Step 2: Exported Data PII Handling Clari export data contains PII (rep names, emails, deal amounts): ```python def redact_pii(entries: list[dict]) -> list[dict]: """Redact PII from forecast entries for non-production use.""" import hashlib redacted = [] for entry in entries: r = entry.copy() if "ownerEmail" in r: r["ownerEmail"] = hashlib.sha256( r["ownerEmail"].encode() ).hexdigest()[:12] + "@redacted" if "ownerName" in r: r["ownerName"] = f"Rep-{hashlib.sha256(r['ownerName'].encode()).hexdigest()[:6]}" redacted.append(r) return redacted ``` ### Step 3: Security Checklist - [ ] API token in secrets manager, not in code - [ ] `.env` files in `.gitignore` - [ ] Exported data stored in access-controlled war...

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