diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 7427d865905..9f6694fdb9d 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -24,6 +24,7 @@ "aarch", "accountendpoint", "accountkey", + "addrs", "agentic", "amqp", "asyncoperation", @@ -35,6 +36,7 @@ "checkpointstore", "clippy", "codeowners", + "commonname", "contoso", "cplusplus", "cpptools", @@ -79,6 +81,7 @@ "pageables", "pkce", "pkcs", + "pkey", "posix", "pullrequest", "pwsh", @@ -159,4 +162,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index fe9695bfd9c..f5a58e159dd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -790,6 +790,7 @@ dependencies = [ "openssl", "pin-project", "rand 0.10.2", + "reqwest", "serde", "serde_json", "serde_test", diff --git a/sdk/identity/azure_identity/CHANGELOG.md b/sdk/identity/azure_identity/CHANGELOG.md index 567514b74fb..705b03be622 100644 --- a/sdk/identity/azure_identity/CHANGELOG.md +++ b/sdk/identity/azure_identity/CHANGELOG.md @@ -5,6 +5,7 @@ ### Features Added - Added support for Arc-connected servers when using the `ManagedIdentityCredential`. +- Added opt-in AKS identity binding support to `WorkloadIdentityCredentialOptions` through `enable_azure_proxy`. ### Breaking Changes diff --git a/sdk/identity/azure_identity/Cargo.toml b/sdk/identity/azure_identity/Cargo.toml index 2f0344d30c6..14a08e32065 100644 --- a/sdk/identity/azure_identity/Cargo.toml +++ b/sdk/identity/azure_identity/Cargo.toml @@ -19,6 +19,7 @@ azure_core = { path = "../../core/azure_core", version = "1.2.0-beta.1", default futures.workspace = true openssl = { workspace = true, optional = true } pin-project.workspace = true +reqwest = { workspace = true, optional = true, features = ["rustls"] } serde.workspace = true serde_json.workspace = true time.workspace = true @@ -39,7 +40,8 @@ tokio.workspace = true tracing-subscriber.workspace = true [features] -default = ["azure_core/default"] +default = ["azure_core/default", "azure_proxy"] +azure_proxy = ["dep:reqwest", "azure_core/reqwest_rustls"] tokio = ["dep:tokio", "azure_core/tokio", "tokio/process"] client_certificate = ["openssl"] diff --git a/sdk/identity/azure_identity/TROUBLESHOOTING.md b/sdk/identity/azure_identity/TROUBLESHOOTING.md index 73395c7050e..8a10eebe348 100644 --- a/sdk/identity/azure_identity/TROUBLESHOOTING.md +++ b/sdk/identity/azure_identity/TROUBLESHOOTING.md @@ -197,6 +197,10 @@ azd auth token --output json --scope https://management.core.windows.net/.defaul | Error Message |Description| Mitigation | |---|---|---| |no client ID/tenant ID/token file specified|Incomplete configuration|In most cases these values are provided via environment variables set by Azure Workload Identity.