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,
org.apache.hadoop.conf.Configuration configuration) |
public static final String AZURE_STORAGE_KEY_ENV_VARIABLE
public String getStorageAccountKey(String s, org.apache.hadoop.conf.Configuration configuration) throws org.apache.hadoop.fs.azure.KeyProviderException
getStorageAccountKey in interface org.apache.hadoop.fs.azure.KeyProviderorg.apache.hadoop.fs.azure.KeyProviderExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.