Class EnvironmentVariableKeyProvider

java.lang.Object
org.apache.flink.fs.azurefs.EnvironmentVariableKeyProvider
All Implemented Interfaces:
org.apache.hadoop.fs.azure.KeyProvider

public class EnvironmentVariableKeyProvider extends Object implements org.apache.hadoop.fs.azure.KeyProvider
An implementation of KeyProvider, which reads the Azure storage key from an environment variable named "AZURE_STORAGE_KEY".
  • Field Details

  • Constructor Details

    • EnvironmentVariableKeyProvider

      public EnvironmentVariableKeyProvider()
  • Method Details

    • getStorageAccountKey

      public String getStorageAccountKey(String s, org.apache.hadoop.conf.Configuration configuration) throws org.apache.hadoop.fs.azure.KeyProviderException
      Specified by:
      getStorageAccountKey in interface org.apache.hadoop.fs.azure.KeyProvider
      Throws:
      org.apache.hadoop.fs.azure.KeyProviderException