settings.json
httpHookAllowedEnvVars
HTTP フックがヘッダーに挿入することを許可する環境変数名の許可リスト。
使い方・用途
- HTTP フック実行時に、認証トークンやシークレットなどの機密情報を含む環境変数を安全に参照・利用できるように制御します。
英語原文(公式ドキュメントより)
Allowlist of environment variable names HTTP hooks may interpolate into headers. When set, each hook's effective allowedEnvVars is the intersection with this list. Undefined = no restriction. Arrays merge across settings sources. See https://code.claude.com/docs/en/settings#hook-configuration