Package com.atlassian.bamboo.credentials
Class SshCredentialsImpl
- java.lang.Object
-
- com.atlassian.bamboo.credentials.SshCredentialsImpl
-
- All Implemented Interfaces:
PrivateKeyCredentials
public class SshCredentialsImpl extends Object implements PrivateKeyCredentials
-
-
Constructor Summary
Constructors Constructor Description SshCredentialsImpl(CredentialsData credentials)
SshCredentialsImpl(String sshKey, String sshPassphrase)
-
-
-
Constructor Detail
-
SshCredentialsImpl
public SshCredentialsImpl(CredentialsData credentials)
-
-
Method Detail
-
getKey
public String getKey()
- Specified by:
getKey
in interfacePrivateKeyCredentials
- Returns:
- private key
-
getPassphrase
public String getPassphrase()
- Specified by:
getPassphrase
in interfacePrivateKeyCredentials
- Returns:
- key passphrase
-
-