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:
  • Field Details

  • Constructor Details

    • VaultSSHUserPrivateKeyImpl

      @DataBoundConstructor public VaultSSHUserPrivateKeyImpl(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description)
  • Method Details

    • getUsernameKey

      @NonNull public String getUsernameKey()
    • setUsernameKey

      @DataBoundSetter public void setUsernameKey(String usernameKey)
    • getPrivateKeyKey

      @NonNull public String getPrivateKeyKey()
    • setPrivateKeyKey

      @DataBoundSetter public void setPrivateKeyKey(String privateKeyKey)
    • getPassphraseKey

      @NonNull public String getPassphraseKey()
    • setPassphraseKey

      @DataBoundSetter public void setPassphraseKey(String passphraseKey)
    • getUsername

      @NonNull public String getUsername()
      Specified by:
      getUsername in interface com.cloudbees.plugins.credentials.common.UsernameCredentials
    • getPrivateKey

      @NonNull public String getPrivateKey()
      Specified by:
      getPrivateKey in interface com.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey
    • getPrivateKeys

      @NonNull public List<String> getPrivateKeys()
      Specified by:
      getPrivateKeys in interface com.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey
    • getPassphrase

      @NonNull public Secret getPassphrase()
      Specified by:
      getPassphrase in interface com.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey