skipcheck

TM1 client · Docs · More services

GitCredentials

using Skipcheck.Tm1.Client.Services;

How TM1 signs in to the Git remote: nothing (a public or git:// remote), a user name and password or token (HTTPS), or an SSH key pair. TM1 doesn't keep them, so every call that reaches the remote takes them again. ToString leaves the secrets out.

Members

Username property
PasswordOrToken property
PublicKey property
PrivateKey property
Passphrase property
None staticNo credentials.
Password staticA user name and password, or access token, for an HTTPS remote.
SshKey staticAn SSH key pair, for an SSH remote, with its passphrase, or null for none.
ToStringWhich credentials these are, without the secrets.

Username

property
string? Username

PasswordOrToken

property
string? PasswordOrToken

PublicKey

property
string? PublicKey

PrivateKey

property
string? PrivateKey

Passphrase

property
string? Passphrase

None

static
GitCredentials None()

No credentials.

Password

static
GitCredentials Password(string username, string password)

A user name and password, or access token, for an HTTPS remote.

SshKey

static
GitCredentials SshKey(string publicKey, string privateKey, string? passphrase = null)

An SSH key pair, for an SSH remote, with its passphrase, or null for none.

ToString

string ToString()

Which credentials these are, without the secrets.