Skip to content

Commit 25f0293

Browse files
Updated the Doc to remove version number note
Updated the doc to reflect the code to mention that it also works without version number, added the line of code for that and removed the note that says "Versions are currently required."
1 parent 4a3b2db commit 25f0293

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/app-service/app-service-key-vault-references.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,16 @@ A Key Vault reference is of the form `@Microsoft.KeyVault({referenceString})`, w
4848
> | SecretUri=_secretUri_ | The **SecretUri** should be the full data-plane URI of a secret in Key Vault, including a version, e.g., https://myvault.vault.azure.net/secrets/mysecret/ec96f02080254f109c51a1f14cdb1931 |
4949
> | VaultName=_vaultName_;SecretName=_secretName_;SecretVersion=_secretVersion_ | The **VaultName** should the name of your Key Vault resource. The **SecretName** should be the name of the target secret. The **SecretVersion** should be the version of the secret to use. |
5050
51-
> [!NOTE]
52-
> Versions are currently required. When rotating secrets, you will need to update the version in your application configuration.
53-
54-
For example, a complete reference would look like the following:
51+
For example, a complete reference with Version would look like the following:
5552

5653
```
5754
@Microsoft.KeyVault(SecretUri=https://myvault.vault.azure.net/secrets/mysecret/ec96f02080254f109c51a1f14cdb1931)
5855
```
56+
A complete reference without Version would look like the following:
57+
58+
```
59+
@Microsoft.KeyVault(SecretUri=https://<MYKEYVAULT>.vault.azure.net/secrets/eShopStorageAccountCS/)
60+
```
5961

6062
Alternatively:
6163

0 commit comments

Comments
 (0)