public class SshCredentials extends SharedCredentials<SshCredentials,SshCredentialsProperties>
GitRepository) and in certain tasks.name, oid, project, TYPE| Constructor and Description |
|---|
SshCredentials()
Create new SSH credentials.
|
SshCredentials(String name)
Create new SSH credentials with name.
|
| Modifier and Type | Method and Description |
|---|---|
protected SshCredentialsProperties |
build() |
SshCredentials |
passphrase(String passhphrase)
Set passphrase to use to access SSH private key.
|
SshCredentials |
privateKey(String key)
Set SSH private key.
|
humanReadableId, humanReadableType, name, oid, oid, projectpublic SshCredentials()
public SshCredentials(String name)
name - name of the credentials.public SshCredentials privateKey(String key)
public SshCredentials passphrase(String passhphrase)
protected SshCredentialsProperties build()
build in class SharedCredentials<SshCredentials,SshCredentialsProperties>Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.