MCPcopy Create free account
hub / github.com/vercel/vercel / writeCredentialsToKeyring

Function writeCredentialsToKeyring

packages/cli-auth/credentials-store.ts:236–243  ·  view source on GitHub ↗
(
  configPath: string,
  config: Credentials,
  runtimeFlags: RuntimeFlags
)

Source from the content-addressed store, hash-verified

234}
235
236function writeCredentialsToKeyring(
237 configPath: string,
238 config: Credentials,
239 runtimeFlags: RuntimeFlags
240): void {
241 const entry = createKeyringEntry(configPath, runtimeFlags);
242 entry.setPassword(JSON.stringify(config));
243}
244
245function deleteCredentialsFromKeyring(
246 configPath: string,

Callers 2

Calls 2

createKeyringEntryFunction · 0.85
setPasswordMethod · 0.80

Tested by

no test coverage detected