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
You'll get an error if you use this function with string interpolation.
198
-
199
-
A [namespace qualifier](bicep-functions.md#namespaces-for-functions) (`az`) isn't needed because the function is available from the _default_ Azure Namespace.
200
-
201
-
### Parameters
202
-
203
-
| Parameter | Required | Type | Description |
204
-
|:--- |:--- |:--- |:--- |
205
-
| subscriptionId | Yes | string | The id of the subscription that has the KeyVault resource. |
206
-
| resourceGroupName | Yes | string | The name of the resource group that has the KeyVault resource. |
207
-
| keyVaultName | Yes | string | The name of the key vault. |
208
-
| secretName | Yes | string | The name of the secret stored in the key vault. |
209
-
| secretVersion | No | string | The version of the secret stored in the key vault. |
210
-
211
-
### Return value
212
-
213
-
The value for the secret.
214
-
215
-
### Example
216
-
217
-
The following `.bicepparam` file has a `securePassword` parameter that will have the latest value of the _\<secretName\>_ secret.
The following `.bicepparam` file has a `securePassword` parameter that will have the value of the _\<secretName\>_ secret, but it's pinned to a specific _\<secretValue\>_.
0 commit comments