Class VaultSSHUserPrivateKeyImpl
java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.datapipe.jenkins.vault.credentials.common.AbstractVaultBaseStandardCredentials
com.datapipe.jenkins.vault.credentials.common.VaultSSHUserPrivateKeyImpl
- 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
,VaultSSHUserPrivateKey
,ExtensionPoint
,Describable<com.cloudbees.plugins.credentials.Credentials>
,Serializable
public class VaultSSHUserPrivateKeyImpl
extends AbstractVaultBaseStandardCredentials
implements VaultSSHUserPrivateKey
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
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
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
com.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider
Nested classes/interfaces inherited from interface com.datapipe.jenkins.vault.credentials.common.VaultSSHUserPrivateKey
VaultSSHUserPrivateKey.NameProvider
-
Field Summary
-
Constructor Summary
ConstructorDescriptionVaultSSHUserPrivateKeyImpl
(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setPassphraseKey
(String passphraseKey) void
setPrivateKeyKey
(String privateKeyKey) void
setUsernameKey
(String usernameKey) Methods inherited from class com.datapipe.jenkins.vault.credentials.common.AbstractVaultBaseStandardCredentials
getContext, getDisplayName, getEngineVersion, getNamespace, getPath, getPrefixPath, getVaultSecretKeyValue, getVaultSecretValue, setContext, setEngineVersion, setNamespace, setPath, setPrefixPath
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
getDescriptor, getScope
Methods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
getId
Methods inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
getDescription
Methods inherited from interface com.cloudbees.plugins.credentials.common.UsernameCredentials
isUsernameSecret
Methods inherited from interface com.datapipe.jenkins.vault.credentials.common.VaultSSHUserPrivateKey
getDisplayName
-
Field Details
-
DEFAULT_USERNAME_KEY
- See Also:
-
DEFAULT_PRIVATE_KEY_KEY
- See Also:
-
DEFAULT_PASSPHRASE_KEY
- See Also:
-
-
Constructor Details
-
VaultSSHUserPrivateKeyImpl
-
-
Method Details
-
getUsernameKey
-
setUsernameKey
-
getPrivateKeyKey
-
setPrivateKeyKey
-
getPassphraseKey
-
setPassphraseKey
-
getUsername
- Specified by:
getUsername
in interfacecom.cloudbees.plugins.credentials.common.UsernameCredentials
-
getPrivateKey
- Specified by:
getPrivateKey
in interfacecom.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey
-
getPrivateKeys
- Specified by:
getPrivateKeys
in interfacecom.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey
-
getPassphrase
- Specified by:
getPassphrase
in interfacecom.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey
-