wslc: build support for --secret (including from file)
Is your feature request related to a problem? Please describe. In a lot builds its required to get secret tokens (like private registries) into you build process. Docker and Podman support the secret argument for that purpose. It would be very helpfull to have wslc support too.
Describe the solution you'd like Add a docker/podman compatible way to add secrets to the build process. This should also support file sources.
Describe alternatives you've considered It would be possible to use build args for this purpose. Buts its more risky to do so since it require me to copy the secret as file into the container. Witch could possbily result in a leak later.
Additional context Example: --secret id=npmrc,src=$($env:USERPROFILE).npmrc
Source: microsoft/WSL