From ad39a4d3375dee17282ad6673350d346fa063009 Mon Sep 17 00:00:00 2001 From: Aric Gardner Date: Fri, 19 Apr 2019 14:20:43 -0400 Subject: [PATCH] Add documenation on lfidapi configuration Documentation on [lfid] for lftools was missing. Change-Id: Ia8e4e41fc4412edc7b5153f6e5e51a822875d889 Signed-off-by: Aric Gardner --- docs/commands/lfidapi.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/commands/lfidapi.rst b/docs/commands/lfidapi.rst index 565bec77..22778e1a 100644 --- a/docs/commands/lfidapi.rst +++ b/docs/commands/lfidapi.rst @@ -32,3 +32,15 @@ match-ldap-to-info ------------------ .. program-output:: lftools lfidapi match-ldap-to-info --help + + +API requires an [lfid] section in ~/.config/lftools/lftools.ini: + +.. code-block:: bash + + [lfid] + clientid = lf-releng-jenkins + client_secret = REDACTED_SEE_SHARED_PASSWORD_STORAGE + refresh_token = REDACTED_SEE_SHARED_PASSWORD_STORAGE + token_uri = https://identity.linuxfoundation.org/oauth2/token + url = https://identity.linuxfoundation.org/rest/auth0/og/ -- 2.16.6