microsoft / microsoft/aspire

Support tls with `aspire dashboard run`

Open
#17,464 2 comments 1 reaction 0 assignees View on GitHub
area-cli area-dashboard triage:bot-seen
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

Currently `aspire dashboard run` starts both http and grpc on http ports.

GRPC libraries can be rather fiddly without https, so if you want to use an app that publishes telemetry over GRPC, libraries can get rather unhappy without TLS.

### Describe the solution you'd like

Now the aspire cli can manage certs via `aspire cert`, the dashboard should probably default to using those certificates, with a `--http` flag that users can use if they want to explicitly opt out of TLS.

This opt out pattern would match the behaviour of `ASPIRE_ALLOW_UNSECURED_TRANSPORT`

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.