Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 656 Bytes

functions-storage-account-set-cli.md

File metadata and controls

17 lines (13 loc) · 656 Bytes
author ms.service ms.topic ms.date ms.author
ggailey777
azure-functions
include
09/26/2019
glenga

Set the Storage account connection

Open the local.settings.json file and copy the value of AzureWebJobsStorage, which is the Storage account connection string. Set the AZURE_STORAGE_CONNECTION_STRING environment variable to the connection string by using this Bash command:

AZURE_STORAGE_CONNECTION_STRING="<STORAGE_CONNECTION_STRING>"

When you set the connection string in the AZURE_STORAGE_CONNECTION_STRING environment variable, you can access your Storage account without having to provide authentication each time.