Class SshParameters
java.lang.Object
org.springframework.credhub.support.KeyParameters
org.springframework.credhub.support.ssh.SshParameters
Parameters for generating a new SSH credential. All parameters are optional; if not
specified, CredHub-provided defaults will be used.
- Author:
- Scott Frederick
-
Field Summary
Fields inherited from class org.springframework.credhub.support.KeyParameters
keyLength -
Constructor Summary
ConstructorsConstructorDescriptionSshParameters(String sshComment) Create aSshParametersusing the specified values.SshParameters(KeyLength keyLength) Create aSshParametersusing the specified values.SshParameters(KeyLength keyLength, String sshComment) Create aSshParametersusing the specified values. -
Method Summary
Modifier and TypeMethodDescriptionGet the value of the ssh comment parameter.Methods inherited from class org.springframework.credhub.support.KeyParameters
getKeyLength
-
Constructor Details
-
SshParameters
Create aSshParametersusing the specified values.- Parameters:
sshComment- comment for the generated SSH key; must not be null
-
SshParameters
Create aSshParametersusing the specified values.- Parameters:
keyLength- length of generated SSH key; must not be null
-
SshParameters
Create aSshParametersusing the specified values.- Parameters:
keyLength- length of generated SSH key; must not be nullsshComment- comment for the generated SSH key; must not be null
-
-
Method Details
-
getSshComment
Get the value of the ssh comment parameter.- Returns:
- the value of the parameter; will be null if not explicitly set
-