Skip to content

Commit 2cae657

Browse files
Merge pull request #8711 from diberry/freshness/js-ai-explore-sample-code
Freshness: Fix auth wording in explore-sample-code.md
2 parents 3623eb0 + 7985788 commit 2cae657

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

articles/javascript/ai/includes/get-started-securing-your-ai-app/explore-sample-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
ms.custom: devx-track-js, devx-track-ts,
33
ms.topic: include
4-
ms.date: 11/08/2024
4+
ms.date: 03/13/2026
55
# Used as part of /developer/ai/get-started-securing-your-ai-app
66
---
77

@@ -29,7 +29,7 @@ function getChainedCredential() {
2929
}
3030
```
3131
* [ManagedIdentityCredential](/javascript/api/@azure/identity/managedidentitycredential) is attempted first. It's set up with the AZURE_CLIENT_ID environment variable in the production runtime and is capable of authenticating via user-assigned managed identity.
32-
* [AzureDeveloperCliCredential](/javascript/api/@azure/identity/azuredeveloperclicredential) is attempted second. It's set up when a develop signs in with Azure CLI `az login`.
32+
* [AzureDeveloperCliCredential](/javascript/api/@azure/identity/azuredeveloperclicredential) is attempted second. It's set up when a developer signs in with the Azure Developer CLI by using `azd auth login`.
3333

3434
>[!TIP]
3535
>The order of the credentials is important, as the first valid Microsoft Entra access token is used. For more information, check out the [ChainedTokenCredential Overview](/javascript/api/@azure/identity/tokencredential) article.

0 commit comments

Comments
 (0)