Skip to content

Commit 4553ac7

Browse files
memshardedAbrilRBS
andauthored
clarify source_credentials scope (#3785)
* clarify source_credentials scope * Update reference/config_files/source_credentials.rst Co-authored-by: Abril Rincón Blanco <[email protected]> --------- Co-authored-by: Abril Rincón Blanco <[email protected]>
1 parent 83e510b commit 4553ac7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reference/config_files/source_credentials.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ URL that should match the recipe one. If the recipe URL starts with the given on
2626
then the credentials will be injected. If the file provides multiple credentials for multiple URLs, they
2727
will be evaluated in order until the first match happens. If no match is found, no credentials will be injected.
2828

29+
It has to be noted that the ``source_credentials`` applies only to files downloaded with the ``tools.files`` ``download()`` and ``get()`` helpers, but it won't be used in other cases. To provide credentials for Conan repos, the ``credentials.json`` file should be used instead, see :ref:`reference_config_files_credentials`.
30+
2931
.. code-block:: json
3032
3133
{

0 commit comments

Comments
 (0)