Skip to content

Commit 99ab484

Browse files
committed
env var
1 parent c78d24c commit 99ab484

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

articles/storage/common/storage-auth-aad-script.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ The extensions are supported for operations on containers and queues. Which oper
2323

2424
For details about the permissions required for each Azure Storage operation on a container or queue, see [Permissions for calling REST operations](https://docs.microsoft.com/rest/api/storageservices/authenticate-with-azure-active-directory#permissions-for-calling-rest-operations).
2525

26-
## Environment variable
27-
28-
The environment variable associated with the `--auth-mode` parameter is `AZURE_STORAGE_AUTH_MODE`. You can specify the appropriate value in the environment variable to avoid including it on every call to an Azure Storage data operation.
29-
3026
## Call CLI commands using Azure AD credentials
3127

3228
Azure CLI supports the `--auth-mode` parameter for data operations against Azure Storage:
@@ -74,6 +70,8 @@ The following example shows how to create a container in a new storage account f
7470
--auth-mode login
7571
```
7672
73+
The environment variable associated with the `--auth-mode` parameter is `AZURE_STORAGE_AUTH_MODE`. You can specify the appropriate value in the environment variable to avoid including it on every call to an Azure Storage data operation.
74+
7775
## Call PowerShell commands using Azure AD credentials
7876
7977
[!INCLUDE [updated-for-az](../../../includes/updated-for-az.md)]

0 commit comments

Comments
 (0)