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
Copy file name to clipboardExpand all lines: articles/container-apps/environment-variables.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Managing Environment Variables on Azure Container Apps
2
+
title: Manage environment variables on Azure Container Apps
3
3
description: Learn to manage environment variables in Azure Container Apps.
4
4
services: container-apps
5
5
author: fred-cardoso
@@ -9,12 +9,12 @@ ms.date: 04/10/2024
9
9
ms.author: fredcardoso
10
10
---
11
11
12
-
# Managing Environment Variables on Azure Container Apps
12
+
# Manage environment variables on Azure Container Apps
13
13
14
14
In Azure Container Apps, you're able to set runtime environment variables. These variables can be set as manually entries or as references to [secrets](manage-secrets.md).
15
15
These environment variables are loaded onto your Container App during runtime.
16
16
17
-
## Configuring environment variables
17
+
## Configure environment variables
18
18
19
19
You can configure the Environment Variables upon the creation of the Container App or later by creating a new revision.
20
20
@@ -46,7 +46,7 @@ az containerapp update \
46
46
47
47
### [PowerShell](#tab/powershell)
48
48
49
-
If you want to use PowerShell you have to, first, create a in-memory object called [EnvironmentVar](/dotnet/api/Microsoft.Azure.PowerShell.Cmdlets.App.Models.EnvironmentVar) using the [New-AzContainerAppEnvironmentVarObject](/powershell/module/az.app/new-azcontainerappenvironmentvarobject) PowerShell cmdlet.
49
+
If you want to use PowerShell you have to, first, create an in-memory object called [EnvironmentVar](/dotnet/api/Microsoft.Azure.PowerShell.Cmdlets.App.Models.EnvironmentVar) using the [New-AzContainerAppEnvironmentVarObject](/powershell/module/az.app/new-azcontainerappenvironmentvarobject) PowerShell cmdlet.
50
50
51
51
To use this cmdlet, you have to pass the name of the environment variable using the `-Name` parameter and the value using the `-Value` parameter, respectively.
## Adding environment variables on existing container apps
84
+
## Add environment variables on existing container apps
85
85
86
86
After the Container App is created, the only way to update the Container App environment variables is by creating a new revision with the needed changes.
0 commit comments