Skip to content

apiKeyPassthroughEnv

apiKeyPassthroughEnv(wrapped): Record<string, string> | undefined

Defined in: src/spawn-auth.ts:77

CLAUDE_CONFIG_DIR env for a spawn that is NOT bwrap-wrapped (passthrough). wrapped = is the spawn bwrap-wrapped (membrane masks the credential in place, so no env override is needed there). Returns undefined in subscription mode or when wrapped; in api-key passthrough mode it provisions + returns the credential-less mirror config dir.

boolean

Record<string, string> | undefined