Authentication options for the repository that can be specified for a private Git repo. There are three different authentication paths:

  • Personal accesstoken
  • SSH private key (and its optional password)
  • Basic auth username and password

Only one authentication path is valid.

interface RemoteGitAuthArgs {
    password?: string;
    personalAccessToken?: string;
    sshPrivateKey?: string;
    sshPrivateKeyPath?: string;
    username?: string;
}

Properties

password?: string

The password that pairs with a username or as part of an SSH Private Key.

personalAccessToken?: string

PersonalAccessToken is a Git personal access token in replacement of your password.

sshPrivateKey?: string

The (contents) private key for access to the git repo.

sshPrivateKeyPath?: string

The absolute path to a private key for access to the git repo.

username?: string

Username is the username to use when authenticating to a git repository

Generated using TypeDoc