July 2018
Intermediate to advanced
350 pages
8h 47m
English
Azure offers different ways of authenticating to its services. You can find the different ways to authenticate at https://github.com/Azure/azure-sdk-for-node/blob/master/Documentation/Authentication.md.
After you have installed the azure-storage Node.js SDK, adding the following line will load the azure-storage Node.js Javascript files into your application:
const azureStorage = require('azure-storage');
The following code sample shows how to create a storage container in Azure and then uploads a local file data.txt to the storage container that we just created. For this code sample to work, the authentication method that you use to connect to Azure services should have access to creating the storage container ...