Hide Aspire internal/automatic env vars
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
Aspire sets a lot of env vars on a .NET project resource when it starts up. These include, ASP.NET Core env vars for the URL, environment and launch profile. Logging env vars for printing to the console. Service discovery env vars with connection strings and HTTP client addresses. And OTEL env vars to configure .NET OTEL SDK:

Because these env vars are set on the resource by Aspire, they're always visible. I think the vast majority of the time people don't care about these env vars. They create noise and make it harder to find important data in resource details. The exception is probably service discovery env vars.
We should consider hiding internally set env vars so they're only visible when show all is selected.
Contributor guide
Assessment
This issue has not been assessed yet.