Back to Settings

Api Key Helper

Settings authentication 537

Configure a custom script to dynamically generate authentication tokens. The script will be executed to obtain fresh API keys, useful for environments with rotating credentials or temporary access tokens. TTL is set to 1 hour (3600000ms).

Install Command
npx claude-code-templates@latest --setting authentication/api-key-helper
View on GitHub
claude-code — api-key-helper

Content

JSON
{
"description": "Configure a custom script to dynamically generate authentication tokens. The scr..."
"apiKeyHelper": "/bin/generate_temp_api_key.sh"
"env": {
"CLAUDE_CODE_API_KEY_HELPER_TTL_MS": "3600000"
}
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.