add NETRC_FILE to allow passing credentials into kas home
Tools like wget and git can read credentials from $HOME/.netrc for servers that require authentication. Allow users to pass in a .netrc file into the kas home dir to support i.e. bitbake https fetching with auth. Signed-off-by: Henning Schild <henning.schild@siemens.com> [Jan: style fix in command-line.rst] Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
committed by
Jan Kiszka
parent
a8b69f5bd4
commit
71cf5dc17b
@@ -83,9 +83,16 @@ Environment variables
|
||||
| |git_cred| | Allows to set the git credential helper in the |
|
||||
| | `.gitconfig` of the kas user. |
|
||||
+--------------------------+--------------------------------------------------+
|
||||
| ``NETRC_FILE`` | Path to a .netrc file which will be copied to |
|
||||
| | the kas home dir as .netrc. |
|
||||
+--------------------------+--------------------------------------------------+
|
||||
| ``CI_SERVER_HOST`` | Environment variables from gitlab CI, if set |
|
||||
| ``CI_JOB_TOKEN`` | .netrc is configured to allow fetching from |
|
||||
| | the gitlab instance. |
|
||||
| | the gitlab instance. An entry will be appended |
|
||||
| | in case ``NETRC_FILE`` was given as well. Note |
|
||||
| | that if the file already contains an entry for |
|
||||
| | that host most tools would probably take that |
|
||||
| | first one. |
|
||||
+--------------------------+--------------------------------------------------+
|
||||
|
||||
.. |aws_cred| replace:: ``AWS_SHARED_CREDENTIALS_FILE``
|
||||
|
Reference in New Issue
Block a user