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

Function getConfiguredApiKeyHelper

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

Source from the content-addressed store, hash-verified

354 * from ~/.claude/settings.json or project settings is ignored.
355 */
356export function getConfiguredApiKeyHelper(): string | undefined {
357 if (isBareMode()) {
358 return getSettingsForSource('flagSettings')?.apiKeyHelper
359 }
360 const mergedSettings = getSettings_DEPRECATED() || {}
361 return mergedSettings.apiKeyHelper
362}
363
364/**
365 * 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