You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When configuring publishing one can provide --password and --user options to configure credentials. However there is no such option in scala-cli when configuring credentials for custom repositories.
Describe the solution you'd like
A new cli option that could be use for that, similar to what we have for configuring publishing credentials.
e.g.
1. and 2. have the downside that credentials are passed as a clear text and could be leaked if not masked 3. seems counter-intuitive when invoking in a CI environment as we don't want to mess with global state
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When configuring publishing one can provide
--password
and--user
options to configure credentials. However there is no such option in scala-cli when configuring credentials for custom repositories.Describe the solution you'd like
A new cli option that could be use for that, similar to what we have for configuring publishing credentials.
e.g.
Describe alternatives you've considered
Currently this can be done in one of the following ways:
COURSIER_CREDENTIALS="$HOST $USER:$TOKEN"
environment variable when calling scala-cli-Dcoursier.credentials="$HOST $USER:$TOKEN"
java property when calling scala-cliscala-cli --power config repositories.credentials $HOST env:USER env:TOKEN
beforehand1.
and2.
have the downside that credentials are passed as a clear text and could be leaked if not masked3.
seems counter-intuitive when invoking in a CI environment as we don't want to mess with global stateThe text was updated successfully, but these errors were encountered: