Searched full:netrc (Results 1 – 25 of 126) sorted by relevance
123456
| /external/python/cpython3/Doc/library/ |
| D | netrc.rst | 1 :mod:`!netrc` --- netrc file processing 4 .. module:: netrc 5 :synopsis: Loading of .netrc files. 10 **Source code:** :source:`Lib/netrc.py` 14 The :class:`~netrc.netrc` class parses and encapsulates the netrc file format used by 18 .. class:: netrc([file]) 20 A :class:`~netrc.netrc` instance or subclass instance encapsulates data from a netrc 22 no argument is given, the file :file:`.netrc` in the user's home directory -- 28 the :file:`.netrc` file will raise a :exc:`NetrcParseError` if the file 32 programs that use :file:`.netrc`. [all …]
|
| /external/bazelbuild-rules_python/python/private/ |
| D | auth.bzl | 35 in the netrc file for the same host name. After formatting, the result is set 38 Example attribute and netrc for a http download to an oauth2 enabled API using a bearer token: 46 netrc: 65 "netrc": attr.string( 66 doc = "Location of the .netrc file to use for authentication", 71 …"""Utility for retrieving netrc-based authentication parameters for repository download rules used… 77 ctx_attr(struct): The attributes to get the netrc from. When ctx is 91 netrc = getattr(ctx_attr, "netrc", None), 95 if ctx_attr.netrc: 96 netrc = read_netrc(ctx, ctx_attr.netrc) [all …]
|
| /external/curl/docs/cmdline-opts/ |
| D | netrc-file.md | 4 Long: netrc-file 5 Help: Specify FILE for netrc 8 Mutexed: netrc 12 - netrc 16 - --netrc-file netrc $URL 19 # `--netrc-file` 21 Set the netrc file to use. Similar to --netrc, except that you also provide 24 It abides by --netrc-optional if specified.
|
| D | netrc.md | 4 Long: netrc 6 Help: Must read .netrc for username and password 9 Mutexed: netrc-file netrc-optional 12 - netrc-file 16 - --netrc $URL 19 # `--netrc` 21 Make curl scan the *.netrc* file in the user's home directory for login name 23 enables user authentication. See *netrc(5)* and *ftp(1)* for details on the 28 On Windows two filenames in the home directory are checked: *.netrc* and 32 A quick and simple example of how to setup a *.netrc* to allow curl to FTP to
|
| D | netrc-optional.md | 4 Long: netrc-optional 5 Help: Use either .netrc or URL 6 Mutexed: netrc 11 - netrc-file 13 - --netrc-optional $URL 16 # `--netrc-optional` 18 Similar to --netrc, but this option makes the .netrc usage **optional** 19 and not mandatory as the --netrc option does.
|
| /external/curl/tests/data/ |
| D | test381 | 7 netrc 36 # using the netrc is mandatory. 39 netrc-optional lets URL creds override netrc 43 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://mary:drfrank@%HOSTIP:%FTPPORT/ 45 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test480 | 4 netrc 21 Reject .netrc with credentials using CRLF for POP3 24 --netrc --netrc-file %LOGDIR/netrc%TESTNUMBER pop3://%HOSTIP:%POP3PORT/%TESTNUMBER 26 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test680 | 5 netrc 23 netrc with quoted password but missing end quote 26 --netrc --netrc-file %LOGDIR/netrc%TESTNUMBER http://user1@http.example/ 28 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test134 | 7 netrc 35 FTP (optional .netrc; programmatic user/passwd) dir list PASV 38 # -u overrides netrc which overrides the URL 40 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER -u romulus:rhemus ftp://mary:mark@%HOSTIP:%F… 42 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test494 | 6 netrc 25 skip 'macdef' when parsing netrc 28 --netrc --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/%TESTNUMBER 30 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test684 | 5 netrc 30 netrc with no login 33 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://%HOSTIP:%HTTPPORT/ 35 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test2005 | 5 netrc 30 netrc match with password only in file, no username. machine follows 33 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://%HOSTIP:%HTTPPORT/ 35 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test685 | 5 netrc 30 netrc with no login - provided user 33 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://user@%HOSTIP:%HTTPPORT/ 35 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test683 | 5 netrc 30 netrc with multiple logins - pick second 33 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://user2@%HOSTIP:%HTTPPORT/ 35 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test682 | 5 netrc 30 netrc with multiple logins - pick first 33 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://user1@%HOSTIP:%HTTPPORT/ 35 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test679 | 5 netrc 34 netrc with quoted password 37 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://%HOSTIP:%HTTPPORT/ 39 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test478 | 4 netrc 37 .netrc with multiple accounts for same host 40 --netrc --netrc-file %LOGDIR/netrc%TESTNUMBER -x http://%HOSTIP:%HTTPPORT/ http://debbie@github.com/ 42 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test1304 | 5 netrc 17 netrc 20 netrc parsing unit tests 23 %LOGDIR/netrc%TESTNUMBER 25 <file name="%LOGDIR/netrc%TESTNUMBER">
|
| D | test2039 | 7 netrc 35 FTP (optional .netrc with 'default' override; no user/pass) dir list PASV 38 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/ 40 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test131 | 7 netrc 35 FTP (optional .netrc; user/no pass) dir list PASV 38 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://user2@%HOSTIP:%FTPPORT/ 40 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test130 | 7 netrc 36 FTP (optional .netrc; no user/pass) dir list PASV 39 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/ 41 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test132 | 7 netrc 35 FTP (optional .netrc; user/passwd supplied) dir list PASV 38 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://mary:mark@%HOSTIP:%FTPPORT/ 40 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| D | test380 | 7 netrc 35 pick netrc password based on user name in URL 39 --netrc --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://mary@%HOSTIP:%FTPPORT/ 41 <file name="%LOGDIR/netrc%TESTNUMBER" >
|
| /external/curl/docs/libcurl/opts/ |
| D | CURLOPT_NETRC.md | 18 CURLOPT_NETRC - enable use of .netrc 31 usernames and passwords from your *~/.netrc* file, relative to usernames and 34 On Windows, libcurl primarily checks for *.netrc* in *%HOME%*. If *%HOME%* is 56 libcurl ignores the *.netrc* file. This is the default. 60 The use of the *.netrc* file is optional, and information in the URL is to 67 The use of the *.netrc* file is required, and any credential information 75 The **.netrc** file format is simple: you specify lines with a machine name 86 Provides credentials for a host called **name**. libcurl searches the .netrc 108 Note that if this token is present in the .netrc file you really should make 114 rest of the .netrc to still work fine, libcurl properly skips every definition
|
| /external/python/cpython3/Lib/test/ |
| D | test_netrc.py | 1 import netrc, os, unittest, sys, textwrap 21 nrc = netrc.netrc(temp_filename) 57 self.assertRaises(netrc.NetrcParseError, self.make_nrc, 95 self.assertRaises(netrc.NetrcParseError, self.make_nrc, item) 282 fn = os.path.join(d, '.netrc') 291 nrc = netrc.netrc() 295 self.assertRaises(netrc.NetrcParseError, netrc.netrc) 304 nrc = netrc.netrc()
|
123456