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
In the **Azure SDK for Java**, audience is configured by passing the `audience` option to the `ConfigurationClientBuilder` when building a `ConfigurationClient`.
116
+
117
+
The following code snippet demonstrates how to instantiate a configuration client with a cloud-specific audience.
.audience(ConfigurationAudience.fromString("{Cloud specific audience here}"))
124
+
.buildClient();
125
+
```
126
+
127
+
In the **Spring configuration provider**, audience is configured by customizing the `ConfigurationClientBuilder` through the `ConfigurationClientCustomizer` interface, then adding it to the bootstrap registry.
128
+
129
+
The following code snippet demonstrates how to add the Azure App Configuration provider into a Spring Boot application with a cloud-specific audience.
0 commit comments