Cloud Data Access
Also available as:
PDF
loading table of contents...

Configuring Authentication with WASB

In order to access data stored in your Azure blob storage account, you must configure your storage account access key in core-site.xml. The configuration property that you must use is fs.azure.account.key.<account name>.blob.core.windows.net and the value is the access key.

For example the following property should be used for a storage account called "testaccount":

<property>
  <name>fs.azure.account.key.testaccount.blob.core.windows.net</name>
  <value>TESTACCOUNT-ACCESS-KEY</value>
</property>

You can obtain your access key from the Access keys in your storage account settings.

[Note]Note

For more detailed instructions including screenshots refer to How to Configure Authentication with WASB blog post.

Next Steps

To protect your access key, we recommend that you use the credential provider framework to securely store and access your credentials. You may also protect the Azure credentials within an encrypted file.

To make sure that authentication works, try referencing WASB in the URLs.