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
Here, the environment variable named `connection-string` gets its value from the application-level `queue-connection-string` secret. Also, the Azure Queue Storage scale rule's authorization configuration uses the `queue-connection-string` secret as to define its connection.
105
+
Here, the environment variable named `connection-string` gets its value from the application-level `queue-connection-string` secret. Also, the Azure Queue Storage scale rule's authentication configuration uses the `queue-connection-string` secret as to define its connection.
106
106
107
107
To avoid committing secret values to source control with your ARM template, pass secret values as ARM template parameters.
108
108
109
109
# [Azure CLI](#tab/azure-cli)
110
110
111
-
In this example, you create a container app with a secret that's referenced in an environment variable using the Azure CLI. To reference a secret in an environment variable in the Azure CLI, set its value to `secretref:`, followed by the name of the secret.
111
+
In this example, you create a container app using the Azure CLI with a secret that's referenced in an environment variable. To reference a secret in an environment variable in the Azure CLI, set its value to `secretref:`, followed by the name of the secret.
Here, the environment variable named `connection-string` gets its value from the application-level `queue-connection-string` secret by using `secretref`.
123
+
Here, the environment variable named `connection-string` gets its value from the application-level `queue-connection-string` secret.
124
124
125
125
# [PowerShell](#tab/powershell)
126
126
127
-
In this example, you create an application with a secret that's referenced in an environment variable using the Azure CLI.
127
+
In this example, you create a container app using the Azure CLI with a secret that's referenced in an environment variable. To reference a secret in an environment variable in the Azure CLI, set its value to `secretref:`, followed by the name of the secret.
Here, the environment variable named `connection-string` gets its value from the application-level `queue-connection-string` secret by using `secretref`.
139
+
Here, the environment variable named `connection-string` gets its value from the application-level `queue-connection-string` secret.
0 commit comments