Skip to content

Commit

Permalink
[Container Registry] adding blurb about env vars to set (#17976)
Browse files Browse the repository at this point in the history
  • Loading branch information
seankane-msft authored Apr 14, 2021
1 parent e01a658 commit 7f94101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/containerregistry/azure-containerregistry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ az acr create --name MyContainerRegistry --resource-group MyResourceGroup --loca

### Authenticate the client

The [Azure Identity library][identity] provides easy Azure Active Directory support for authentication.
The [Azure Identity library][identity] provides easy Azure Active Directory support for authentication. The `DefaultAzureCredential` assumes the `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET` environment variables are set, for more information refer to the [Azure Identity environment variables section](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/identity/azure-identity#environment-variables)

```python
# Create a ContainerRegistryClient that will authenticate through Active Directory
Expand Down

0 comments on commit 7f94101

Please sign in to comment.