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
# Configure application settings for Azure Static Web Apps
14
14
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.
16
16
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 `_`
18
24
19
25
> [!IMPORTANT]
20
26
> The application settings described in this article only apply to the backend API of an Azure Static Web App.
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.
56
62
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.
0 commit comments