Class AzureSecretFileCredentials

java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
org.jenkinsci.plugins.azurekeyvaultplugin.credentials.secretfile.AzureSecretFileCredentials
All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials, com.cloudbees.plugins.credentials.common.StandardCredentials, com.cloudbees.plugins.credentials.Credentials, ExtensionPoint, Describable<com.cloudbees.plugins.credentials.Credentials>, Serializable, org.jenkinsci.plugins.plaincredentials.FileCredentials

public class AzureSecretFileCredentials extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials implements org.jenkinsci.plugins.plaincredentials.FileCredentials
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    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 org.jenkinsci.plugins.plaincredentials.FileCredentials

    org.jenkinsci.plugins.plaincredentials.FileCredentials.NameProvider

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
    AzureSecretFileCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, String fileName, Supplier<Secret> secretBytes)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     

    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

    Methods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

    getId

    Methods inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials

    getDescription
  • Constructor Details

    • AzureSecretFileCredentials

      public AzureSecretFileCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, String fileName, Supplier<Secret> secretBytes)
  • Method Details

    • getFileName

      @NonNull public String getFileName()
      Specified by:
      getFileName in interface org.jenkinsci.plugins.plaincredentials.FileCredentials
    • getContent

      @NonNull public InputStream getContent() throws UnsupportedEncodingException
      Specified by:
      getContent in interface org.jenkinsci.plugins.plaincredentials.FileCredentials
      Throws:
      UnsupportedEncodingException
    • getSecretBytes

      public Secret getSecretBytes()