Skip to content

Commit b362e8f

Browse files
authored
Add audience as valid config (#46554)
* Add audience as valid config * update changelog * update changelog * update changelog
1 parent 0864b7c commit b362e8f

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

sdk/cosmos/azure-cosmos-spark_3-3_2-12/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#### Other Changes
1313
* Added change feed performance monitoring which is used to improve end lsn calculation in `CosmosPartitionPlanner`. - See [PR 46320](https://github.com/Azure/azure-sdk-for-java/pull/46320)
14+
* Added `spark.cosmos.auth.aad.audience` as a valid configuration option to allow using AAD tokens with custom audiences. - See [PR 46554](https://github.com/Azure/azure-sdk-for-java/pull/46554)
1415

1516
### 4.38.0 (2025-07-31)
1617

sdk/cosmos/azure-cosmos-spark_3-4_2-12/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#### Other Changes
1313
* Added change feed performance monitoring which is used to improve end lsn calculation in `CosmosPartitionPlanner`. - See [PR 46320](https://github.com/Azure/azure-sdk-for-java/pull/46320)
14+
* Added `spark.cosmos.auth.aad.audience` as a valid configuration option to allow using AAD tokens with custom audiences. - See [PR 46554](https://github.com/Azure/azure-sdk-for-java/pull/46554)
1415

1516
### 4.38.0 (2025-07-31)
1617

sdk/cosmos/azure-cosmos-spark_3-5_2-12/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#### Other Changes
1313
* Added change feed performance monitoring which is used to improve end lsn calculation in `CosmosPartitionPlanner`. - See [PR 46320](https://github.com/Azure/azure-sdk-for-java/pull/46320)
14+
* Added `spark.cosmos.auth.aad.audience` as a valid configuration option to allow using AAD tokens with custom audiences. - See [PR 46554](https://github.com/Azure/azure-sdk-for-java/pull/46554)
1415

1516
### 4.38.0 (2025-07-31)
1617

sdk/cosmos/azure-cosmos-spark_3_2-12/src/main/scala/com/azure/cosmos/spark/CosmosConfig.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ private[spark] object CosmosConfigNames {
5858
val ClientSecret = "spark.cosmos.auth.aad.clientSecret"
5959
val ClientCertPemBase64 = "spark.cosmos.auth.aad.clientCertPemBase64"
6060
val ClientCertSendChain = "spark.cosmos.auth.aad.clientCertSendChain"
61+
val Audience = "spark.cosmos.auth.aad.audience"
6162
val Database = "spark.cosmos.database"
6263
val Container = "spark.cosmos.container"
6364
val PreferredRegionsList = "spark.cosmos.preferredRegionsList"
@@ -181,6 +182,7 @@ private[spark] object CosmosConfigNames {
181182
ClientSecret,
182183
ClientCertPemBase64,
183184
ClientCertSendChain,
185+
Audience,
184186
AzureEnvironment,
185187
AzureEnvironmentAAD,
186188
AzureEnvironmentManagement,

0 commit comments

Comments
 (0)