Skip to content

Commit 42cde41

Browse files
authored
Revise ClientCertificateCredential (Azure#3226)
1 parent 445363a commit 42cde41

File tree

4 files changed

+310
-117
lines changed

4 files changed

+310
-117
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/identity/azure_identity/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,16 @@
66

77
### Breaking Changes
88

9+
- `ClientCertificateCredential::new()`:
10+
- `client_certificate` parameter is now `certificate`
11+
- `client_certificate_password` parameter is now `password: Option<azure_core::credentials::Secret>` in `ClientCertificateCredentialOptions`
12+
- now returns an error when the given certificate can't be parsed
13+
- Removed `ClientCertificateCredentialOptions.send_certificate_chain`. Set environment variable `AZURE_CLIENT_SEND_CERTIFICATE_CHAIN` to "1" or "true" to enable this feature.
14+
915
### Bugs Fixed
1016

17+
- `ClientCertificateCredential::get_token()` returned an error when given multiple scopes
18+
1119
### Other Changes
1220

1321
## 0.29.0 (2025-10-08)

sdk/identity/azure_identity/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ azure_core_test.workspace = true
3030
azure_security_keyvault_secrets = { path = "../../keyvault/azure_security_keyvault_secrets" }
3131
clap.workspace = true
3232
reqwest.workspace = true
33+
serde_json.workspace = true
3334
serde_test.workspace = true
3435
serial_test.workspace = true
3536
tokio.workspace = true

0 commit comments

Comments
 (0)