dotnet / aspire

An opinionated, cloud ready stack for building observable, production ready, distributed applications in .NET
https://learn.microsoft.com/dotnet/aspire
MIT License
3.61k stars 403 forks source link

Allow resource properties to be marked as secret #5065

Open drewnoakes opened 1 month ago

drewnoakes commented 1 month ago

Today, environment variables are shown in the UI as a series of dots (like a password mask) and the user must flip a toggle to show them. This prevents accidental disclosure to onlookers, such as when screen sharing.

We should add the same facility to resource properties, and allow each property to define whether it is a secret or not. Such secret properties would be displayed as masked in the UI by default.

drewnoakes commented 1 month ago

Pulled out of #2415.

joperezr commented 3 weeks ago

@drewnoakes is this on track for 8.2 milestone or should it get pushed?

drewnoakes commented 3 weeks ago

I'm working towards 8.2, yes.

drewnoakes commented 3 weeks ago

Work here is likely to conflict with #5266.

drewnoakes commented 2 weeks ago

PR in review https://github.com/dotnet/aspire/pull/5380