public class SshCredential extends KeyPairCredential
| Constructor and Description |
|---|
SshCredential(java.lang.String publicKey,
java.lang.String privateKey)
Create an
SshCredential from the provided public and private key. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPublicKeyFingerprint()
Get the fingerprint of the public key associated with the credential.
|
getPrivateKey, getPublicKeypublic SshCredential(java.lang.String publicKey,
java.lang.String privateKey)
SshCredential from the provided public and private key. At least one of the key
values must not be null.publicKey - the public key; may be null only if privateKey is not nullprivateKey - the private key; may be null only if publicKey is not nullpublic java.lang.String getPublicKeyFingerprint()
SshCredential, but may be provided by CredHub when retrieving one.