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 property | A user name and password, or access token, for an HTTPS remote. |
__init__ constructor | |
none static | No credentials. |
ssh_key static | An SSH key pair, for an SSH remote, with its passphrase if any. |
username | |
public_key | |
private_key | |
passphrase |
password
propertypasswordA 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
staticnone() -> GitCredentialsNo credentials.
ssh_key
staticssh_key(public_key: str, private_key: str, passphrase: str | None = None) -> GitCredentialsAn SSH key pair, for an SSH remote, with its passphrase if any.
username
usernamepublic_key
public_keyprivate_key
private_keypassphrase
passphrase