proxy-user.d 954 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 will hide the given option argument from
  18. process listings. This is not enough to protect credentials from possibly
  19. getting seen by other users on the same system as they will still be visible
  20. for a moment before cleared. Such sensitive data should be retrieved from a
  21. file instead or similar and never used in clear text in a command line.