Class EnvCredentialsProvider

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

public class EnvCredentialsProvider extends Object implements CredentialsProvider
Implementation of CredentialsProvider that obtains credential values from environment variables.

Its constructor accepts a map with credential names as keys and env variable names as values.

  • Constructor Details

    • EnvCredentialsProvider

      public EnvCredentialsProvider(Map<String,String> envVariableNames)
  • Method Details