Skip to main content
await store.updateGitCredential({
  id: credential.id,
  username: 'git',
  password: 'NEW_ACCESS_TOKEN',
});

Options

id
string
required
The credential ID returned by createGitCredential().
username
string
Updated Git username. Optional for providers that accept a token without a username.
password
string
required
Updated Git password or access token.