2
0

proxy-user.d 946 B

1234567891011121314151617181920212223
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: proxy-user
  4. Short: U
  5. Arg: <user:password>
  6. Help: Proxy user and password
  7. Category: proxy auth
  8. Example: --proxy-user name:pwd -x proxy $URL
  9. Added: 4.0
  10. See-also: proxy-pass
  11. Multi: single
  12. ---
  13. Specify the user name and password to use for proxy authentication.
  14. If you use a Windows SSPI-enabled curl binary and do either Negotiate or NTLM
  15. authentication then you can tell curl to select the user name and password
  16. from your environment by specifying a single colon with this option: "-U :".
  17. On systems where it works, curl hides the given option argument from process
  18. listings. This is not enough to protect credentials from possibly getting seen
  19. by other users on the same system as they still are visible for a moment
  20. before cleared. Such sensitive data should be retrieved from a file instead or
  21. similar and never used in clear text in a command line.