MCPcopy
hub / github.com/codeaashu/claude-code / getConfiguredApiKeyHelper

Function getConfiguredApiKeyHelper

src/utils/auth.ts:355–361  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

353 * from ~/.claude/settings.json or project settings is ignored.
354 */
355export function getConfiguredApiKeyHelper(): string | undefined {
356 if (isBareMode()) {
357 return getSettingsForSource('flagSettings')?.apiKeyHelper
358 }
359 const mergedSettings = getSettings_DEPRECATED() || {}
360 return mergedSettings.apiKeyHelper
361}
362
363/**
364 * Check if the configured apiKeyHelper comes from project settings (projectSettings or localSettings)

Callers 6

NotificationContentFunction · 0.85
getAuthTokenSourceFunction · 0.85
_executeApiKeyHelperFunction · 0.85

Calls 2

isBareModeFunction · 0.85
getSettingsForSourceFunction · 0.85

Tested by

no test coverage detected