apollo-security-basics

Featured

Apply Apollo.io API security best practices. Use when securing Apollo integrations, managing API keys, or implementing secure data handling. Trigger with phrases like "apollo security", "secure apollo api", "apollo api key security", "apollo data protection".

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

# Apollo Security Basics ## Overview Security best practices for Apollo.io API integrations. Apollo API keys grant broad access to 275M+ contacts — a leaked key is a serious incident. This covers key management, PII redaction, data access controls, key rotation, and audit procedures. ## Prerequisites - Valid Apollo.io API credentials - Node.js 18+ ## Instructions ### Step 1: Secure API Key Storage Apollo supports two key types with different risk profiles: - **Standard key**: search + enrichment only (lower risk) - **Master key**: full CRM access including delete (highest risk) ```typescript // NEVER: const API_KEY = 'abc123'; // hardcoded // NEVER: params: { api_key: key } // query string (logged in server access logs) // ALWAYS: x-api-key header + env var or secret manager import { SecretManagerServiceClient } from '@google-cloud/secret-manager'; async function getApiKey(): Promise<string> { // Dev/staging: environment variable if (process.env.APOLLO_API_KEY) return process.env.APOLLO_API_KEY; // Production: GCP Secret Manager const client = new SecretManagerServiceClient(); const [version] = await client.accessSecretVersion({ name: 'projects/my-project/secrets/apollo-api-key/versions/latest', }); return version.payload?.data?.toString() ?? ''; } ``` ```bash # .gitignore — prevent accidental commits .env .env.local .env.*.local *.pem secrets/ ``` ### Step 2: PII Redaction for Logging Apollo responses contain emails, phone numbers, and LinkedIn...

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