Class SshPrivateKeyAuthentication
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<SshPrivateKeyAuthenticationProperties>
com.atlassian.bamboo.specs.builders.repository.git.SshPrivateKeyAuthentication
public class SshPrivateKeyAuthentication
extends EntityPropertiesBuilder<SshPrivateKeyAuthenticationProperties>
SSH private key authentication for git repository.
-
Constructor Summary
ConstructorsConstructorDescriptionSshPrivateKeyAuthentication
(String sshPrivateKey) Specifies new ssh credentials with given private key. -
Method Summary
Modifier and TypeMethodDescriptionprotected SshPrivateKeyAuthenticationProperties
build()
passphrase
(@Nullable String passphrase) Sets passphrase for the private key.sshPrivateKey
(String sshPrivateKey) Sets private key.
-
Constructor Details
-
SshPrivateKeyAuthentication
Specifies new ssh credentials with given private key. The key can be both in Bamboo encrypted and plain form.- Parameters:
sshPrivateKey
- private key- See Also:
-
-
Method Details
-
sshPrivateKey
Sets private key. The key can be both in Bamboo encrypted and plain form.- Parameters:
sshPrivateKey
- private key- See Also:
-
passphrase
Sets passphrase for the private key. The passphrase can be both in Bamboo encrypted and plain form.- Parameters:
passphrase
- passphrase- See Also:
-
build
- Specified by:
build
in classEntityPropertiesBuilder<SshPrivateKeyAuthenticationProperties>
-