Class RemoteGitAuthArgs
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.
Inherited Members
Namespace: Pulumi.Automation
Assembly: Pulumi.Automation.dll
Syntax
public class RemoteGitAuthArgs
Properties
View SourcePassword
The password that pairs with a username or as part of an SSH Private Key.
Declaration
public string? Password { get; set; }
Property Value
Type | Description |
---|---|
string |
PersonalAccessToken
PersonalAccessToken is a Git personal access token in replacement of your password.
Declaration
public string? PersonalAccessToken { get; set; }
Property Value
Type | Description |
---|---|
string |
SshPrivateKey
The (contents) private key for access to the git repo.
Declaration
public string? SshPrivateKey { get; set; }
Property Value
Type | Description |
---|---|
string |
SshPrivateKeyPath
The absolute path to a private key for access to the git repo.
Declaration
public string? SshPrivateKeyPath { get; set; }
Property Value
Type | Description |
---|---|
string |
Username
Username is the username to use when authenticating to a git repository.
Declaration
public string? Username { get; set; }
Property Value
Type | Description |
---|---|
string |