Class AzureSSHUserPrivateKeyCredentials

  • 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 AzureSSHUserPrivateKeyCredentials
    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  AzureSSHUserPrivateKeyCredentials.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 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.cloudbees.plugins.credentials.common.StandardUsernameCredentials

        com.cloudbees.plugins.credentials.common.StandardUsernameCredentials.NameProvider
    • Constructor Detail

      • AzureSSHUserPrivateKeyCredentials

        public AzureSSHUserPrivateKeyCredentials​(com.cloudbees.plugins.credentials.CredentialsScope scope,
                                                 String id,
                                                 String description,
                                                 String username,
                                                 boolean usernameSecret,
                                                 Secret passphrase,
                                                 Supplier<Secret> privateKey)
    • Method Detail

      • getSecretValue

        public Secret getSecretValue()
      • getPrivateKey

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

        public Secret getPassphrase()
        Specified by:
        getPassphrase 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
      • getUsername

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

        public boolean isUsernameSecret()
        Specified by:
        isUsernameSecret in interface com.cloudbees.plugins.credentials.common.UsernameCredentials