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