Thanks for asking question! Could you please elaborate if you want to apply the application settings for backend API of an Azure Static Web App.
You may follow this official document: https://learn.microsoft.com/en-us/azure/static-web-apps/application-settings
If you want to configure environment variables that are required to build your frontend web application, see Build configuration.
Let us know.