Hi Staiger, Welcome to MS Q&A
Answer to 1st Question -->
- Go to your container app in the Azure portal.
- Open the Revision management page.
- Select Create new revision.
- In the Create and deploy new revision page.
- Select a container and select Edit.
- In the Volume mounts section, expand the Secrets section.
- Select Create new volume.
- Enter the following information:
- Name: mysecrets
- Mount all secrets: enabled
- Select Add.
- Under Volume name, select mysecrets.
- Under Mount path, enter /mnt/secrets.
- Select Save.
- Select Create to create the new revision with the volume mount.
Please check this for details
Answer to 2nd question-->
Using Environment Variables: One common approach is to configure your application to read settings from environment variables. This way, you can inject configuration values into your container at runtime, and they persist across container restarts. In Azure Container Apps, you can set environment variables in the container settings through the Azure portal or Azure CLI.
Please check below image
Please accept answer if it helps, Thanks!