@@ -41,7 +41,7 @@ pepcli ama query --column-group ShortPseudonyms # The completed command line
...
@@ -41,7 +41,7 @@ pepcli ama query --column-group ShortPseudonyms # The completed command line
Most of `pepcli`'s commands will connect to one or more of the PEP servers, and most server requests will require the user to be [enrolled](Access-control#enrollment). There are two primary methods get enrolled for `pepcli` usage:
Most of `pepcli`'s commands will connect to one or more of the PEP servers, and most server requests will require the user to be [enrolled](Access-control#enrollment). There are two primary methods get enrolled for `pepcli` usage:
- Have an [OAuth token](Access-control#oauth-token) issued and present it to `pepcli`'s [`--oauth-token` switch](#general-flags). Contact the [PEP support team](support@pep.cs.ru.nl) for more information on obtaining such a prefab OAuth token.
- Have an [OAuth token](Access-control#oauth-token) issued and present it to `pepcli`'s [`--oauth-token` switch](#general-flags). Contact your PEP support contact for more information on obtaining such a prefab OAuth token.
- From the directory where you intend to use `pepcli`, run the `pepLogon` utility and [log on interactively](Access-control#authentication). Your enrollment data will be stored to a file and will remain valid for a period of 12 hours. During this period, use `pepcli` without its `--oauth-token` switch to perform commands in the role for which you logged on.
- From the directory where you intend to use `pepcli`, run the `pepLogon` utility and [log on interactively](Access-control#authentication). Your enrollment data will be stored to a file and will remain valid for a period of 12 hours. During this period, use `pepcli` without its `--oauth-token` switch to perform commands in the role for which you logged on.
Note that prefab OAuth tokens are usually issued for longer validity periods (think months rather than hours), e.g. making them usable to execute `pepcli` from automatic server processes.
Note that prefab OAuth tokens are usually issued for longer validity periods (think months rather than hours), e.g. making them usable to execute `pepcli` from automatic server processes.