All credentials now implement the SupportsTokenInfo or AsyncSupportsTokenInfo protocol. Each credential now has a get_token_info method which returns an AccessTokenInfo object. The get_token_info method is an alternative method to get_token that improves support for more complex authentication scenarios. (#36882)
Information on when a token should be refreshed is now saved in AccessTokenInfo (if available).
Other Changes
Added identity config validation to ManagedIdentityCredential to avoid non-deterministic states (e.g. both resource_id and object_id are specified). (#36950)
Additional validation was added for ManagedIdentityCredential in Azure Cloud Shell environments. (#36438)
Bumped minimum dependency on azure-core to >=1.31.0.
azure-identity_1.18.0b2
1.18.0b2 (2024-08-09)
Features Added
Added support of send_certificate_chain keyword argument when using certs with the synchronous OnBehalfOfCredential. (#36810)
AzurePowerShellCredential now supports using secure strings when authenticating with PowerShell. (#36653)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps azure-identity from 1.17.1 to 1.18.0.
Release notes
Sourced from azure-identity's releases.
Commits
7e9ddf8
[Identity] Prepare release (#37439)ddd5c27
[Identity] Implement new protocol for all credentials (#36882)b2043fa
[Identity] Update instance discovery error message (#36932)548ea62
Add cloud shell validation (#37278)e74ad46
Edit pass on Azure Identity README (#37274)5ae05fc
[Identity] Adjust CI setup script (#37238)828a14d
[Identity] Update credential docstrings (#37207)513989e
[Identity] Validate identity config for MICredential (#36950)347c625
[Identity] Stop using deprecated datetime methods (#36952)8a6980c
Pop client_secret to protect pipeline (#36947)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show