getStorageAccountKey
public String getStorageAccountKey(String accountName,
org.apache.hadoop.conf.Configuration conf)
throws KeyProviderException
Key providers must implement this method. Given a list of configuration
parameters for the specified Azure storage account, retrieve the plaintext
storage account key.
- Specified by:
getStorageAccountKey in interface KeyProvider
- Parameters:
accountName - the storage account name
conf - Hadoop configuration parameters
- Returns:
- the plaintext storage account key
- Throws:
KeyProviderException - Thrown if there is a problem instantiating a
KeyProvider or retrieving a key using a KeyProvider object.