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

Function deleteAutoStorageCredentials

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

Source from the content-addressed store, hash-verified

441}
442
443function deleteAutoStorageCredentials(
444 configPath: string,
445 runtimeFlags: RuntimeFlags
446): void {
447 try {
448 deleteCredentialsFromKeyring(configPath, runtimeFlags);
449 } catch {}
450 deleteCredentialsFile(configPath);
451}
452
453export function CredentialsStore(dir: string, config: GlobalConfig = {}) {
454 const configPath = cliConfig.getAuthConfigFilePath(dir);

Callers 1

deleteFunction · 0.85

Calls 2

deleteCredentialsFileFunction · 0.85

Tested by

no test coverage detected