You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/concept-enable-rbac.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ When using Entra ID and the following Azure App Configuration libraries in cloud
67
67
### [.NET](#tab/dotnet)
68
68
#### .NET configuration provider
69
69
70
-
Audience can be configured by utilizing the [ConfigureClientOptions](/dotnet/api/microsoft.extensions.configuration.azureappconfiguration.azureappconfigurationoptions.configureclientoptions#microsoft-extensions-configuration-azureappconfiguration-azureappconfigurationoptions-configureclientoptions(system-action((azure-data-appconfiguration-configurationclientoptions)))) method. The audience must be configured if you are using version **8.2.0** or later of any of the following packages in a cloud other than the aforementioned clouds.
70
+
Audience can be configured by utilizing the [ConfigureClientOptions](/dotnet/api/microsoft.extensions.configuration.azureappconfiguration.azureappconfigurationoptions.configureclientoptions#microsoft-extensions-configuration-azureappconfiguration-azureappconfigurationoptions-configureclientoptions(system-action((azure-data-appconfiguration-configurationclientoptions)))) method. Use version **8.2.0** or later of any of the following packages to configure the audience.
Audience can be configured by utilizing the following API calls. The audience must be configured if you are using version **1.6.0** or later of the package `Azure.Data.AppConfiguration`in a cloud other than the aforementioned clouds.
91
+
Audience can be configured by utilizing the following API calls. Use version **1.6.0** or later of the package `Azure.Data.AppConfiguration`to configure the audience.
92
92
93
93
* The ConfigurationClient constructor [accepts ConfigurationClientOptions](/dotnet/api/azure.data.appconfiguration.configurationclient.-ctor#azure-data-appconfiguration-configurationclient-ctor(system-uri-azure-core-tokencredential-azure-data-appconfiguration-configurationclientoptions))
94
94
* ConfigurationClientOptions allows [Audience](/dotnet/api/azure.data.appconfiguration.configurationclientoptions.audience#azure-data-appconfiguration-configurationclientoptions-audience) to be set
@@ -108,7 +108,9 @@ var configurationClient = new ConfigurationClient(
108
108
### [Java](#tab/java)
109
109
#### Spring configuration provider
110
110
111
-
Audience can be configured by customizing the `ConfigurationClientBuilder` through the `ConfigurationClientCustomizer` interface, then adding it to the bootstrap registry. The audience must be configured if you are using version **5.22.0** or later of the package `spring-cloud-azure-appconfiguration-config` in a cloud other than the aforementioned clouds.
111
+
Audience can be configured by customizing the `ConfigurationClientBuilder` through the `ConfigurationClientCustomizer` interface, then adding it to the bootstrap registry. Use version **5.22.0** or later of the following packages to configure the audience.
112
+
-`spring-cloud-azure-appconfiguration-config`
113
+
-`spring-cloud-azure-appconfiguration-config-web`
112
114
113
115
The following code snippet demonstrates how to add the Azure App Configuration provider into a Spring Boot application with a cloud-specific audience.
114
116
@@ -155,7 +157,7 @@ public class Application {
155
157
156
158
#### Azure SDK for Java
157
159
158
-
Audience can be configured by passing the `audience` option to the `ConfigurationClientBuilder` when building a `ConfigurationClient`. The audience must be configured if you are using version **1.8.0** or later of the package `azure-data-appconfiguration`in a cloud other than the aforementioned clouds.
160
+
Audience can be configured by passing the `audience` option to the `ConfigurationClientBuilder` when building a `ConfigurationClient`. Use version **1.8.0** or later of the package `azure-data-appconfiguration`to configure the audience.
159
161
160
162
The following code snippet demonstrates how to instantiate a configuration client with a cloud-specific audience.
161
163
@@ -170,7 +172,7 @@ ConfigurationClient configurationClient = new ConfigurationClientBuilder()
170
172
### [JavaScript](#tab/javascript)
171
173
#### JavaScript configuration provider
172
174
173
-
Audience can be configured by passing the `clientOptions` with the `audience` property to the `load` function. The audience must be configured if you are using version **1.0.0** or later of the package `@azure/app-configuration-provider`in a cloud other than the aforementioned clouds.
175
+
Audience can be configured by passing the `clientOptions` with the `audience` property to the `load` function. Use version **1.0.0** or later of the package `@azure/app-configuration-provider`to configure the audience.
174
176
175
177
The following code snippet demonstrates how to load Azure App Configuration in a JavaScript application with a cloud-specific audience.
Audience can be configured by passing the `audience` option to the `AppConfigurationClient` constructor. The audience must be configured if you are using version **1.9.0** or later of the package `@azure/app-configuration`in a cloud other than the aforementioned clouds.
191
+
Audience can be configured by passing the `audience` option to the `AppConfigurationClient` constructor. Use version **1.9.0** or later of the package `@azure/app-configuration`to configure the audience.
190
192
191
193
The following code snippet demonstrates how to instantiate a configuration client with a cloud-specific audience.
192
194
@@ -198,7 +200,7 @@ const client = new AppConfigurationClient(myStoreEndpoint, new DefaultAzureCrede
198
200
199
201
### [Go](#tab/go)
200
202
201
-
You need to import the following packages:
203
+
To customize Entra ID audience, import the following packages in your Go application:
202
204
203
205
```golang
204
206
import (
@@ -209,7 +211,7 @@ import (
209
211
210
212
#### Go configuration provider
211
213
212
-
Audience can be configured by passing the `ClientOptions` with the cloud configuration to the `Load` function. The audience must be configured if you are using version **1.0.0** or later of the package `azureappconfiguration`in a cloud other than the aforementioned clouds.
214
+
Audience can be configured by passing the `ClientOptions` with the cloud configuration to the `Load` function. Use version **1.0.0** or later of the package `azureappconfiguration`to configure the audience.
213
215
214
216
The following code snippet demonstrates how to load Azure App Configuration in a Go application with a cloud-specific audience.
215
217
@@ -242,7 +244,7 @@ appConfig, _ := azureappconfiguration.Load(context.Background(), authOptions, op
242
244
243
245
#### Azure SDK for Go
244
246
245
-
Audience can be configured by utilizing the cloud configuration. The audience must be configured if you are using version **2.1.0** or later of the package `azappconfig`in a cloud other than the aforementioned clouds.
247
+
Audience can be configured by utilizing the cloud configuration. Use version **2.1.0** or later of the package `azappconfig`to configure the audience.
246
248
247
249
The following code snippet demonstrates how to instantiate a configuration client with a cloud-specific audience.
0 commit comments