Skip to content

Commit e2ac47c

Browse files
committed
Remove duplicate code block
1 parent 5032fb5 commit e2ac47c

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

docs/security/azure-security-key-vault-integration.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -102,24 +102,6 @@ All .NET Aspire Azure resources are subclasses of the <xref:Aspire.Hosting.Azure
102102

103103
:::code language="csharp" source="../snippets/azure/AppHost/Program.ConfigureKeyVaultInfra.cs" id="configure":::
104104

105-
```csharp
106-
builder.AddAzureKeyVault("key-vault")
107-
.ConfigureInfrastructure(infra =>
108-
{
109-
var keyVault = infra.GetProvisionableResources()
110-
.OfType<KeyVaultService>()
111-
.Single();
112-
113-
keyVault.Properties.Sku = new()
114-
{
115-
Family = KeyVaultSkuFamily.A,
116-
Name = KeyVaultSkuName.Premium,
117-
};
118-
keyVault.Properties.EnableRbacAuthorization = true;
119-
keyVault.Tags.Add("ExampleKey", "Example value");
120-
});
121-
```
122-
123105
The preceding code:
124106

125107
- Chains a call to the <xref:Aspire.Hosting.AzureProvisioningResourceExtensions.ConfigureInfrastructure*> API:

0 commit comments

Comments
 (0)