MCPcopy
hub / github.com/simstudioai/sim / extractEnvVarName

Function extractEnvVarName

packages/db/scripts/migrate-block-api-keys-to-byok.ts:245–248  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

243}
244
245function extractEnvVarName(value: string): string | null {
246 const match = ENV_VAR_PATTERN.exec(value)
247 return match ? match[1].trim() : null
248}
249
250function maskKey(key: string): string {
251 if (key.length <= 8) return '•'.repeat(8)

Callers 1

resolveKeyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected