Class AwsSshUserPrivateKey
- java.lang.Object
-
- com.cloudbees.plugins.credentials.BaseCredentials
-
- com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
-
- io.jenkins.plugins.credentials.secretsmanager.factory.ssh_user_private_key.AwsSshUserPrivateKey
-
- All Implemented Interfaces:
com.cloudbees.jenkins.plugins.sshcredentials.SSHUser
,com.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey
,com.cloudbees.plugins.credentials.common.IdCredentials
,com.cloudbees.plugins.credentials.common.StandardCredentials
,com.cloudbees.plugins.credentials.common.StandardUsernameCredentials
,com.cloudbees.plugins.credentials.common.UsernameCredentials
,com.cloudbees.plugins.credentials.Credentials
,ExtensionPoint
,Describable<com.cloudbees.plugins.credentials.Credentials>
,Serializable
public class AwsSshUserPrivateKey extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials implements com.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AwsSshUserPrivateKey.DescriptorImpl
-
Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
com.cloudbees.plugins.credentials.common.IdCredentials.Helpers
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Secret
getPassphrase()
String
getPrivateKey()
Deprecated.List<String>
getPrivateKeys()
String
getUsername()
-
Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
equals, getDescription, getId, hashCode
-
Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials
getDescriptor, getScope
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.cloudbees.plugins.credentials.Credentials
forRun, getDescriptor, getScope
-
-
-
-
Method Detail
-
getPrivateKey
@NonNull @Deprecated public String getPrivateKey()
Deprecated.- Specified by:
getPrivateKey
in interfacecom.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey
-
getPassphrase
public Secret getPassphrase()
- Specified by:
getPassphrase
in interfacecom.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey
-
getPrivateKeys
@NonNull public List<String> getPrivateKeys()
- Specified by:
getPrivateKeys
in interfacecom.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey
-
getUsername
@NonNull public String getUsername()
- Specified by:
getUsername
in interfacecom.cloudbees.plugins.credentials.common.UsernameCredentials
-
-