Class VaultCredentialsProvider

java.lang.Object
hudson.model.Descriptor<com.cloudbees.plugins.credentials.CredentialsProvider>
com.cloudbees.plugins.credentials.CredentialsProvider
com.datapipe.jenkins.vault.credentials.VaultCredentialsProvider
All Implemented Interfaces:
ExtensionPoint, Describable<com.cloudbees.plugins.credentials.CredentialsProvider>, Saveable, OnMaster, IconSpec

@Extension(optional=true, ordinal=1.0) public class VaultCredentialsProvider extends com.cloudbees.plugins.credentials.CredentialsProvider
This class provides the credentials that we need to authenticate against Vault and the credentials stored in Vault, after assigning the right context to them.
Author:
Hassan CHAKROUN <h.chakrouun@gmail.com>
  • Constructor Details

    • VaultCredentialsProvider

      public VaultCredentialsProvider()
  • Method Details

    • getCredentials

      public <C extends com.cloudbees.plugins.credentials.Credentials> List<C> getCredentials(Class<C> type, ItemGroup itemGroup, Authentication authentication)
      Specified by:
      getCredentials in class com.cloudbees.plugins.credentials.CredentialsProvider
    • getCredentials

      @NonNull public <C extends com.cloudbees.plugins.credentials.Credentials> List<C> getCredentials(@NonNull Class<C> type, @Nullable ItemGroup itemGroup, @Nullable Authentication authentication, @NonNull List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements)
      Overrides:
      getCredentials in class com.cloudbees.plugins.credentials.CredentialsProvider