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/azure-resource-manager/bicep/bicep-functions-parameters-file.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ Bicep provides a function called `readEnvironmentVariable()` that allows you to
16
16
17
17
Returns a secret from an [Azure Key Vault](../../key-vault/secrets/about-secrets.md). Use this function to pass a secret to a secure string parameter of a Bicep file.
18
18
19
-
You can use the `getSecret()` function from within a `.bicepparam` file.
19
+
> [!NOTE]
20
+
> You can also use the [keyVaultName.getSecret(secretName)](./bicep-functions-resource.md#getsecret) function from within a `.bicep` file.
20
21
21
22
```bicep
22
23
using './main.bicep'
@@ -33,7 +34,7 @@ A [namespace qualifier](bicep-functions.md#namespaces-for-functions) (`az`) can
33
34
34
35
| Parameter | Required | Type | Description |
35
36
|:--- |:--- |:--- |:--- |
36
-
| subscriptionId | Yes | string | The id of the subscription that has the key vault resource. |
37
+
| subscriptionId | Yes | string | The ID of the subscription that has the key vault resource. |
37
38
| resourceGroupName | Yes | string | The name of the resource group that has the key vault resource. |
38
39
| keyVaultName | Yes | string | The name of the key vault. |
39
40
| secretName | Yes | string | The name of the secret stored in the key vault. |
0 commit comments