Skip to content
DocsTry Aspire
DocsTry

AzureCognitiveServicesProjectResource.withKeyVault

Method
📦 Aspire.Hosting.Foundry v13.5.1-preview.1.26420.4
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
keyVaultAzureKeyVaultResource
AzureCognitiveServicesProjectResource

Defined on

This method is defined on the following type: