Class VaultCredentialsProvider

java.lang.Object
org.apache.drill.exec.store.security.vault.VaultCredentialsProvider
All Implemented Interfaces:
CredentialsProvider

public class VaultCredentialsProvider extends Object implements CredentialsProvider
Implementation of CredentialsProvider that obtains credential values from Vault.
  • Field Details

  • Constructor Details

    • VaultCredentialsProvider

      public VaultCredentialsProvider(String secretPath, Map<String,String> propertyNames, DrillConfig config) throws com.bettercloud.vault.VaultException
      Parameters:
      secretPath - The Vault key value from which to read
      propertyNames - map with credential names as keys and vault keys as values.
      config - drill config
      Throws:
      com.bettercloud.vault.VaultException - if exception happens when connecting to Vault.
  • Method Details