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).
npx claude-code-templates@latest --setting authentication/api-key-helper 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"
}
}