apify-security-basics

Featured

Secure Apify API tokens, configure proxy access, and protect Actor data. Use when hardening API key management, setting up environment-specific tokens, or auditing Apify security configuration. Trigger: "apify security", "apify secrets", "secure apify token", "apify API key security", "rotate apify token".

AI & Automation 2,944 stars 440 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

# Apify Security Basics ## Overview Security best practices for Apify API tokens, Actor data, proxy credentials, and webhook verification. Apify uses personal API tokens (prefixed `apify_api_`) for all authentication. ## Prerequisites - Apify account with Console access - Understanding of environment variables - Access to your deployment platform's secrets management ## Token Architecture Apify uses a single API token per user account for full API access. There is no scope-based permission system per token, so token security is critical. | Token Type | Format | Where to Find | |------------|--------|---------------| | Personal API token | `apify_api_...` | Console > Settings > Integrations | | Proxy password | Alphanumeric | Console > Proxy > Connection settings | ## Instructions ### Step 1: Secure Token Storage ```bash # .env (NEVER commit — must be in .gitignore) APIFY_TOKEN=apify_api_YOUR_TOKEN_HERE # .gitignore — mandatory entries .env .env.local .env.*.local storage/ # Local Apify storage may contain scraped data ``` ```typescript // Validate token exists at startup function requireToken(): string { const token = process.env.APIFY_TOKEN; if (!token) { throw new Error( 'APIFY_TOKEN is required. Get yours at ' + 'https://console.apify.com/account/integrations' ); } if (!token.startsWith('apify_api_')) { console.warn('Warning: APIFY_TOKEN does not have expected prefix'); } return token; } ``` ### Step 2: Per-Environment Tok...

Details

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

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category