Skip to content

Commit 70123d6

Browse files
committed
Fixing something
1 parent f989b02 commit 70123d6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/storage/common/storage-use-azcopy-authorize-azure-active-directory.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,11 @@ Then, run any azcopy command (For example: `azcopy list https://contoso.blob.cor
174174

175175
## Authorize by using the AzCopy login command
176176

177-
As an alternative to using in-memory variables, you authorize access by using the azcopy login command. The azcopy login command retrieves an OAuth token and then places that token into a secret store on your system. If your operating system doesn't have a secret store such as a Linux keyring, the azcopy login command won't work because there is nowhere to place the token.
177+
As an alternative to using in-memory variables, you authorize access by using the azcopy login command. However, this approach is not recommended as the azcopy login command will soon be deprecated.
178178

179-
> [!NOTE]
179+
The azcopy login command retrieves an OAuth token and then places that token into a secret store on your system. If your operating system doesn't have a secret store such as a Linux keyring, the azcopy login command won't work because there is nowhere to place the token.
180+
181+
> [!IMPORTANT]
180182
> The azcopy login command will soon be deprecated.
181183
182184
### Authorize a user identity (azcopy login command)
@@ -244,7 +246,7 @@ You can sign into your account by using a client secret or by using the password
244246

245247
To learn more about creating service principal, see [How to: Use the portal to create an Azure AD application and service principal that can access resources](../../active-directory/develop/howto-create-service-principal-portal.md).
246248

247-
#### Authorize a service principal by using a client secret
249+
#### Authorize a service principal by using a client secret (azcopy login command)
248250

249251
Start by setting the `AZCOPY_SPA_CLIENT_SECRET` environment variable to the client secret of your service principal's app registration.
250252

@@ -268,7 +270,7 @@ azcopy login --service-principal --application-id application-id --tenant-id=te
268270

269271
Replace the `<application-id>` placeholder with the application ID of your service principal's app registration. Replace the `<tenant-id>` placeholder with the tenant ID of the organization to which the storage account belongs. To find the tenant ID, select **Azure Active Directory > Properties > Directory ID** in the Azure portal.
270272

271-
#### Authorize a service principal by using a certificate
273+
#### Authorize a service principal by using a certificate (azcopy login command)
272274

273275
If you prefer to use your own credentials for authorization, you can upload a certificate to your app registration, and then use that certificate to log in.
274276

0 commit comments

Comments
 (0)