public class EnvironmentVariableKeyProvider extends Object implements org.apache.hadoop.fs.azure.KeyProvider
KeyProvider
, which reads the Azure
storage key from an environment variable named "AZURE_STORAGE_KEY".Modifier and Type | Field and Description |
---|---|
static String |
AZURE_STORAGE_KEY_ENV_VARIABLE |
Constructor and Description |
---|
EnvironmentVariableKeyProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getStorageAccountKey(String s,
Configuration configuration) |
public static final String AZURE_STORAGE_KEY_ENV_VARIABLE
public String getStorageAccountKey(String s, Configuration configuration) throws org.apache.hadoop.fs.azure.KeyProviderException
getStorageAccountKey
in interface org.apache.hadoop.fs.azure.KeyProvider
org.apache.hadoop.fs.azure.KeyProviderException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.