Skip to content

Commit 137f693

Browse files
committed
Moving warning to be an include
1 parent aea9f64 commit 137f693

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

articles/azure-functions/function-keys-how-to.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ When using Key Vault for key storage, the app settings you need depend on the ma
7474
| [AzureWebJobsSecretStorageKeyVaultClientSecret](functions-app-settings.md#azurewebjobssecretstoragekeyvaultclientsecret) | X | X ||
7575
| [AzureWebJobsSecretStorageKeyVaultTenantId](functions-app-settings.md#azurewebjobssecretstoragekeyvaulttenantid) | X | X ||
7676

77-
> [!IMPORTANT]
78-
> When using Key Vault for key storage, there is no scoping of the secrets to each function app. If you configure `AzureWebJobsSecretStorageKeyVaultUri` with the same Key Vault resource for multiple function apps there can be inadvertent behavior, like apps will share the same key and keys getting overwritten. It is recommended to use different Key Vault resources for different function apps.
77+
[!INCLUDE [functions-key-vault-secrets-storage-warning](../../includes/functions-key-vault-secrets-storage-warning.md)]
7978

8079
## Use access keys
8180

articles/azure-functions/functions-app-settings.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,9 @@ The vault must have an access policy corresponding to the system-assigned manage
274274
|---|------------|
275275
|AzureWebJobsSecretStorageKeyVaultUri|`https://<VAULT_NAME>.vault.azure.net`|
276276

277-
To learn more, see [Use Key Vault references for Azure Functions](../app-service/app-service-key-vault-references.md?toc=/azure/azure-functions/toc.json).
277+
[!INCLUDE [functions-key-vault-secrets-storage-warning](../../includes/functions-key-vault-secrets-storage-warning.md)]
278+
279+
To learn more, see [Manage Key Storage](../azure-functions/function-keys-how-to.md#manage-key-storage).
278280

279281
## AzureWebJobsSecretStorageSas
280282

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
author: nzthiago
3+
ms.service: azure-functions
4+
ms.topic: include
5+
ms.date: 06/06/2025
6+
ms.author: thalme
7+
---
8+
9+
> [!IMPORTANT]
10+
> When using Azure Key Vault for key storage via the `AzureWebJobsSecretStorageKeyVaultUri` setting, secrets are not automatically scoped to individual function apps. If multiple function apps are configured to use the same Key Vault, they will share the same secret store, potentially leading to key collisions or overwrites. To avoid unintended behavior, it is strongly recommended to use a separate Key Vault instance for each function app.

0 commit comments

Comments
 (0)