Skip to content

Cosmos, Redis and Postgres show keyvault when using key access or passwords with emulator #8364

@davidfowl

Description

@davidfowl
var builder = DistributedApplication.CreateBuilder(args);

var cosmos = builder.AddAzureCosmosDB("cosmos")
                .RunAsPreviewEmulator(e => e.WithDataExplorer())
                .WithAccessKeyAuthentication();

var db = cosmos.AddCosmosDatabase("db");
var entries = db.AddContainer("entries", "/id", "staging-entries");
db.AddContainer("users", "/id");

builder.AddProject<Projects.CosmosEndToEnd_ApiService>("api")
       .WithExternalHttpEndpoints()
       .WithReference(db).WaitFor(db)
       .WithReference(entries).WaitFor(entries);
Image

Metadata

Metadata

Labels

area-integrationsIssues pertaining to Aspire Integrations packages

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions