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
{{ message }}
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
Is your feature request related to a problem? Please describe.
By default, curl does not check the .netrc file. Because of that, trying to make some API requests sometimes can fail when forgetting to pass the credentials, and also a .netrc will avoid having to pass the credentials in the command line and letting it available in shell history.
Describe the solution you'd like
We could create a .curlrc to instruct curl to pass the "-n" parameter.
For example:
$ cat ~/.curlrc
# Make curl checks .netrc in home dir
-n
The text was updated successfully, but these errors were encountered:
By default, curl does not check the ~/.netrc file. This commit
configures a .curlrc that will add the '-n' parameter to curl execution.
fixes: pulp#1005
git-hyagi
added a commit
to git-hyagi/pulp_installer
that referenced
this issue
Apr 7, 2022
By default, curl does not check the ~/.netrc file. This commit
configures a .curlrc that will add the '-n' parameter to curl execution.
fixes: pulp#1005
Is your feature request related to a problem? Please describe.
By default, curl does not check the
.netrc
file. Because of that, trying to make some API requests sometimes can fail when forgetting to pass the credentials, and also a.netrc
will avoid having to pass the credentials in the command line and letting it available in shell history.Describe the solution you'd like
We could create a .curlrc to instruct curl to pass the "-n" parameter.
For example:
The text was updated successfully, but these errors were encountered: