withKeyVault

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26567.5
interface AzureCognitiveServicesProjectResource {
// ... 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

Applies to

This method applies to the following types: