Skip to content
DocsTry Aspire
DocsTry

AzureCognitiveServicesProjectResource.withKeyVault

Method
📦 Aspire.Hosting.Foundry v13.4.0-preview.1.26281.18
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: