MCPcopy Create free account
hub / github.com/Noumena-Network/code / getApiKeyFromFileDescriptor

Function getApiKeyFromFileDescriptor

src/utils/authFileDescriptor.ts:208–216  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206 * /home/claude/.claude/remote/.api_key.
207 */
208export function getApiKeyFromFileDescriptor(): string | null {
209 return getCredentialFromFd({
210 envVar: 'CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR',
211 wellKnownPath: CCR_API_KEY_PATH,
212 label: 'API key',
213 getCached: getApiKeyFromFd,
214 setCached: setApiKeyFromFd,
215 })
216}

Callers 1

Calls 1

getCredentialFromFdFunction · 0.85

Tested by

no test coverage detected