proxy-user.d 1019 B

123456789101112131415161718192021222324
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, 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. ---
  12. Specify the user name and password to use for proxy authentication.
  13. If you use a Windows SSPI-enabled curl binary and do either Negotiate or NTLM
  14. authentication then you can tell curl to select the user name and password
  15. from your environment by specifying a single colon with this option: "-U :".
  16. On systems where it works, curl will hide the given option argument from
  17. process listings. This is not enough to protect credentials from possibly
  18. getting seen by other users on the same system as they will still be visible
  19. for a moment before cleared. Such sensitive data should be retrieved from a
  20. file instead or similar and never used in clear text in a command line.
  21. If this option is used several times, the last one will be used.