Skip to content

Commit 500d6ba

Browse files
update
1 parent 6835486 commit 500d6ba

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/azure-app-configuration/reference-javascript-provider.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ms.date: 02/02/2025
1717

1818
[![configuration-provider-npm-package](https://img.shields.io/npm/v/@azure/app-configuration-provider?label=@azure/app-configuration-provider)](https://www.npmjs.com/package/@azure/app-configuration-provider)
1919

20-
Azure App Configuration is a managed service that helps developers centralize their application configurations simply and securely. The JavaScript configuration provider library enables loading configuration from an Azure App Configuration store in a managed way. This client library adds additional functionality above the Azure sdk for JavaScript.
20+
Azure App Configuration is a managed service that helps developers centralize their application configurations simply and securely. The JavaScript configuration provider library enables loading configuration from an Azure App Configuration store in a managed way. This client library adds additional functionality above the Azure SDK for JavaScript.
2121

2222
## Load configuration
2323

@@ -139,7 +139,7 @@ const settings = await load(endpoint, credential, {
139139
```
140140

141141
> [!NOTE]
142-
> Key-values are loaded in the order the selectors are listed. If multiple selectors retrieve key-values with the same key, the value from the last one will override any previously loaded value.
142+
> Key-values are loaded in the order in which the selectors are listed. If multiple selectors retrieve key-values with the same key, the value from the last one will override any previously loaded value.
143143

144144
### Trim prefix from keys
145145

@@ -156,9 +156,9 @@ const settings = await load(endpoint, credential, {
156156

157157
## Key Vault reference
158158

159-
Azure App Configuration supports referencing secrets stored in Azure Key Vault. In App Configuration, keys can be created which have values that map to a secret stored in a Key Vault. The secrets are securely stored in Key Vault, but can be accessed the same as any other configuration once loaded.
159+
Azure App Configuration supports referencing secrets stored in Azure Key Vault. In App Configuration, you can create keys that map to secrets stored in Key Vault. The secrets are securely stored in Key Vault, but can be accessed like any other configuration once loaded.
160160

161-
The configuration provider library retrieves Key Vault references, just as it does for any other keys stored in App Configuration. Because the client recognizes the keys as Key Vault references, they have a unique content-type, and the client will connect to Key Vault to retrieve their values for your application. You need to configure `AzureAppConfigurationOptions.KeyVaultOptions` property with the propert credential to allow the configuration provider to connect to Azure Key Vault.
161+
The configuration provider library retrieves Key Vault references, just as it does for any other keys stored in App Configuration. Because the client recognizes the keys as Key Vault references, they have a unique content-type, and the client will connect to Key Vault to retrieve their values for your application. You need to configure `AzureAppConfigurationOptions.KeyVaultOptions` property with the proper credential to allow the configuration provider to connect to Azure Key Vault.
162162

163163
```typescript
164164
const credential = new DefaultAzureCredential();
@@ -198,7 +198,7 @@ const settings = await load(endpoint, credential, {
198198

199199
## Configuration refresh
200200

201-
Dynamic refresh for the configurations lets you pull their latest values from the App Configuration store without having to restart the application.You can set `AzureAppConfigurationOptions.refreshOptions` to enable the refresh and configure refresh options. The loaded configuration will be updated when any change of selected key-values is detected on the server. By default, a refresh interval of 30 seconds is used, but you can override it with the `refreshIntervalInMs` property.
201+
Dynamic refresh for the configurations lets you pull their latest values from the App Configuration store without having to restart the application. You can set `AzureAppConfigurationOptions.refreshOptions` to enable the refresh and configure refresh options. The loaded configuration will be updated when any change of selected key-values is detected on the server. By default, a refresh interval of 30 seconds is used, but you can override it with the `refreshIntervalInMs` property.
202202

203203
```typescript
204204
const settings = await load(endpoint, credential, {
@@ -229,11 +229,11 @@ server.use((req, res, next) => {
229229

230230
Even if the refresh call fails for any reason, your application will continue to use the cached configuration. Another attempt will be made when the configured refresh interval has passed and the refresh call is triggered by your application activity. Calling `refresh` is a no-op before the configured refresh interval elapses, so its performance impact is minimal even if it's called frequently.
231231

232-
For more information about refresh configuration, please go to [Use dynamic configuration in JavaScript](./enable-dynamic-configuration-javascript.md).
232+
For more information about refresh configuration, go to [Use dynamic configuration in JavaScript](./enable-dynamic-configuration-javascript.md).
233233

234234
## Feature flag
235235

236-
You can [create feature flags](./manage-feature-flags.md#create-a-feature-flag) in the Azure App Configuration. By default, the feature flags will not be loaded by configuration provider. You can enable loading and refreshing feature flags through `AzureAppConfigurationOptions.featureFlagOptions` property when calling the `load` method.
236+
You can [create feature flags](./manage-feature-flags.md#create-a-feature-flag) in Azure App Configuration. By default, the feature flags will not be loaded by configuration provider. You can enable loading and refreshing feature flags through `AzureAppConfigurationOptions.featureFlagOptions` property when calling the `load` method.
237237

238238
```typescript
239239
const settings = await load(endpoint, credential, {
@@ -253,17 +253,17 @@ const settings = await load(endpoint, credential, {
253253

254254
### Feature management
255255

256-
Feature management library provides a way to develop and expose application functionality based on feature flags. The feature management libary is designed to work in conjunction with configuration provider library. The configuration provider will load all selected feature flags into the configuration under the `feature_flags` list of `feature_management` section. The feature management library will consume and manage the loaded feature flags for your application.
256+
Feature management library provides a way to develop and expose application functionality based on feature flags. The feature management library is designed to work in conjunction with the configuration provider library. The configuration provider will load all selected feature flags into the configuration under the `feature_flags` list of the `feature_management` section. The feature management library will consume and manage the loaded feature flags for your application.
257257

258-
For more information about how to use JavaScript feature management library, please go to the [quickstart](./quickstart-feature-flag-javascript.md).
258+
For more information about how to use the JavaScript feature management library, go to the [feature flag quickstart](./quickstart-feature-flag-javascript.md).
259259

260260
## Geo-replication
261261

262-
For information about use geo-replication, please go to [Enable geo-replication](./howto-geo-replication.md).
262+
For information about using geo-replication, go to [Enable geo-replication](./howto-geo-replication.md).
263263

264264
## Next steps
265265

266-
To learn how to use JavaScript configuration provider, continue to the following tutorials.
266+
To learn how to use the JavaScript configuration provider, continue to the following tutorial.
267267

268268
> [!div class="nextstepaction"]
269269
> [Use dynamic configuration in JavaScript](./enable-dynamic-configuration-javascript.md)

0 commit comments

Comments
 (0)