Skip to content

Commit

Permalink
Update metadata for azure-identity 1.6.0b1 (#16584)
Browse files Browse the repository at this point in the history
  • Loading branch information
chlowell authored Feb 8, 2021
1 parent 74d5557 commit 6bc937d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
4 changes: 3 additions & 1 deletion sdk/identity/azure-identity/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 1.5.1 (Unreleased)
## 1.6.0b1 (2021-02-09)
### Changed
- Raised minimum msal version to 1.7.0
- Raised minimum six version to 1.12.0
Expand All @@ -13,6 +13,8 @@
`certificate_bytes` instead of `certificate_path`, for example:
`CertificateCredential(tenant_id, client_id, certificate_bytes=cert_bytes)`
([#14055](https://github.com/Azure/azure-sdk-for-python/issues/14055))
- User credentials support Continuous Access Evaluation (CAE)
- Application authentication APIs from 1.5.0b2

### Fixed
- `ManagedIdentityCredential` correctly parses responses from the current
Expand Down
15 changes: 14 additions & 1 deletion sdk/identity/azure-identity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ default_credential = DefaultAzureCredential()
client = BlobServiceClient(account_url, credential=default_credential)
```

### Enabling interactive authentication with `DefaultAzureCredential`
#### Enabling interactive authentication with `DefaultAzureCredential`

Interactive authentication is disabled in the `DefaultAzureCredential` by
default and can be enabled with a keyword argument:
Expand All @@ -125,6 +125,19 @@ When enabled, `DefaultAzureCredential` falls back to interactively
authenticating via the system's default web browser when no other credential is
available.

#### Specifying a user assigned managed identity for `DefaultAzureCredential`

Many Azure hosts allow the assignment of a user assigned managed identity. To
configure `DefaultAzureCredential` to authenticate a user assigned identity,
use the `managed_identity_client_id` keyword argument:

```py
DefaultAzureCredential(managed_identity_client_id=client_id)
```

Alternatively, set the environment variable `AZURE_CLIENT_ID` to the identity's
client ID.

### Defining a custom authentication flow with `ChainedTokenCredential`

`DefaultAzureCredential` is generally the quickest way to get started developing
Expand Down
2 changes: 1 addition & 1 deletion sdk/identity/azure-identity/azure/identity/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
VERSION = "1.5.1"
VERSION = "1.6.0b1"
2 changes: 1 addition & 1 deletion sdk/identity/azure-identity/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
author_email="[email protected]",
url="https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/identity/azure-identity",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
Expand Down

0 comments on commit 6bc937d

Please sign in to comment.