Skip to content

Commit 47edf59

Browse files
Merge pull request #223955 from chcomley/patch-1
Update application-settings.md
2 parents 6daf208 + 94ce645 commit 47edf59

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

articles/static-web-apps/application-settings.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,15 @@ ms.custom: devx-track-js, engagement-fy23
1212

1313
# Configure application settings for Azure Static Web Apps
1414

15-
When you configure application settings and environment variables, you modify the configuration input to your app without the need to change application code, such as with database connection strings. You can also store secrets used in [authentication configuration](key-vault-secrets.md).
15+
Application settings hold configuration values that may change, such as database connection strings. Adding application settings allows you to modify the configuration input to your app, without having to change application code.
1616

17-
Application settings are encrypted at rest, copied to [staging](review-publish-pull-requests.md) and production environments, used by backend APIs, and may only be alphanumeric characters, plus `.` and `_`.
17+
Application settings:
18+
19+
- Are available as environment variables to the backend API of a static web app
20+
- Can be used to store secrets used in [authentication configuration](key-vault-secrets.md)
21+
- Are encrypted at rest
22+
- Are copied to [staging](review-publish-pull-requests.md) and production environments
23+
- May only be alphanumeric characters, `.`, and `_`
1824

1925
> [!IMPORTANT]
2026
> The application settings described in this article only apply to the backend API of an Azure Static Web App.
@@ -54,7 +60,7 @@ const connectionString = process.env.DATABASE_CONNECTION_STRING;
5460

5561
The `local.settings.json` file isn't tracked by the GitHub repository because sensitive information, like database connection strings, are often included in the file. Since the local settings remain on your machine, you need to manually configure your settings in Azure.
5662

57-
Generally, your settings are infrequently set, so aren't required with every build.
63+
Generally, configuring your settings is done infrequently, and isn't required with every build.
5864

5965
## Configure application settings
6066

0 commit comments

Comments
 (0)