Skip to content
Docs Try Aspire

AzureCosmosDBResource.withAccessKeyAuthentication

Method
📦 Aspire.Hosting.Azure.CosmosDB v13.2.0-preview.1.26159.1
interface AzureCosmosDBResource {
// ... omitted for brevity
withAccessKeyAuthentication(): AzureCosmosDBResource;
}

Signature

method withAccessKeyAuthentication builder
Configures Azure Cosmos DB to use access key authentication
withAccessKeyAuthentication(): AzureCosmosDBResource
AzureCosmosDBResource

Defined on

This method is defined on the following type: