Add documenation on lfidapi configuration 44/15344/6
authorAric Gardner <agardner@linuxfoundation.org>
Fri, 19 Apr 2019 18:20:43 +0000 (14:20 -0400)
committerAric Gardner <agardner@linuxfoundation.org>
Fri, 24 May 2019 18:49:10 +0000 (14:49 -0400)
Documentation on [lfid] for lftools was missing.

Change-Id: Ia8e4e41fc4412edc7b5153f6e5e51a822875d889
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
docs/commands/lfidapi.rst

index 565bec7..22778e1 100644 (file)
@@ -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/