Skip to content

Commit 2ab0239

Browse files
authored
Merge pull request #206259 from craigshoemaker/patch-7
[Container Apps] Fix secretref casing
2 parents 686623d + be12bf1 commit 2ab0239

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/container-apps/manage-secrets.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ Here, a connection string to a queue storage account is declared in the `--secre
9393

9494
## Using secrets
9595

96-
The secret value is mapped to the secret name declared at the application level as described in the [defining secrets](#defining-secrets) section. The `passwordSecretRef` and `secretRef` parameters are used to reference the secret names as environment variables at the container level. The `passwordSecretRef` provides a descriptive parameter name for secrets containing passwords.
96+
The secret value is mapped to the secret name declared at the application level as described in the [defining secrets](#defining-secrets) section. The `passwordSecretRef` and `secretref` parameters are used to reference the secret names as environment variables at the container level. The `passwordSecretRef` provides a descriptive parameter name for secrets containing passwords.
9797

9898
## Example
9999

100-
The following example shows an application that declares a connection string at the application level and is used throughout the configuration via `secretRef`.
100+
The following example shows an application that declares a connection string at the application level and is used throughout the configuration via `secretref`.
101101

102102
# [ARM template](#tab/arm-template)
103103

@@ -123,7 +123,7 @@ az containerapp create \
123123
--env-vars "QueueName=myqueue" "ConnectionString=secretref:queue-connection-string"
124124
```
125125

126-
Here, the environment variable named `connection-string` gets its value from the application-level `queue-connection-string` secret by using `secretRef`.
126+
Here, the environment variable named `connection-string` gets its value from the application-level `queue-connection-string` secret by using `secretref`.
127127

128128
# [PowerShell](#tab/powershell)
129129

@@ -139,7 +139,7 @@ az containerapp create `
139139
--env-vars "QueueName=myqueue" "ConnectionString=secretref:queue-connection-string"
140140
```
141141

142-
Here, the environment variable named `connection-string` gets its value from the application-level `queue-connection-string` secret by using `secretRef`.
142+
Here, the environment variable named `connection-string` gets its value from the application-level `queue-connection-string` secret by using `secretref`.
143143

144144
---
145145

0 commit comments

Comments
 (0)