skipcheck

TM1 client · Docs · More services

GitCredentials

from skipcheck_tm1.values import GitCredentials

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. to_string leaves the secrets out.

Members

password propertyA user name and password, or access token, for an HTTPS remote.
__init__ constructor
none staticNo credentials.
ssh_key staticAn SSH key pair, for an SSH remote, with its passphrase if any.
username
public_key
private_key
passphrase

password

property
password

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

__init__

constructor
__init__(username: str | None = None, password: str | None = None, public_key: str | None = None, private_key: str | None = None, passphrase: str | None = None)

none

static
none() -> GitCredentials

No credentials.

ssh_key

static
ssh_key(public_key: str, private_key: str, passphrase: str | None = None) -> GitCredentials

An SSH key pair, for an SSH remote, with its passphrase if any.

username

username

public_key

public_key

private_key

private_key

passphrase

passphrase