AzureCognitiveServicesProjectResource.WithKeyVault

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26567.5
type AzureCognitiveServicesProjectResource interface {
// ... omitted for brevity
WithKeyVault(keyVault AzureKeyVaultResource) AzureCognitiveServicesProjectResource
}

Signature

methodWithKeyVaultbuilder
Adds a Key Vault connection to the Microsoft Foundry project.
WithKeyVault(keyVault AzureKeyVaultResource) AzureCognitiveServicesProjectResource
keyVaultAzureKeyVaultResourceThe Key Vault resource to associate with the project.
AzureCognitiveServicesProjectResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: