Skip to content
Snippets Groups Projects
Commit c02a147d authored by vlorentz's avatar vlorentz
Browse files

devel/configuration: Add missing documentation for metadata_fetcher_credentials

parent 81ee9bdc
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,7 @@ The :ref:`graph <swh-graph>` can only be accessed as a remote service, and
its configuration block is a single key: ``url``, which is the URL to its
HTTP endpoint; usually on port 5009 or at the path ``/graph/``.
.. _cli-config-journal:
journal
......@@ -82,6 +83,26 @@ directly from Kafka::
group_id: "..."
.. _cli-config-metadata_fetcher_credentials:
metadata_fetcher_credentials
----------------------------
Nested dictionary of strings.
The first level identifies a :term:`metadata <extrinsic metadata>` fetcher's name
(eg. ``gitea`` ``github``), the second level the lister instance (eg. ``codeberg.org``
or ``github``). The final level is a list of dicts containing the expected API
credentials for the given instance of that fetcher. For example::
metadata_fetcher_credentials:
github:
github:
- username: ...
password: ...
- ...
.. _cli-config-scheduler:
scheduler
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment