Finding your API user token (non OCP install)

If authentication is enabled, you need to provide the API user token to access the APIs. This will vary depending on your local OAuth system.

For example on OCP, you need to do the following:

  • Launch the OpenShift Cloud Platform Console UI.
  • Click on the user dropdown and select Copy Login Command.
  • Click Display Token.
  • Copy the value of the token attribute.

Or on Box, you get the API token as follows:

  • Go to the Box developer console and select the application for which to create a Developer Token.
  • From the sidebar, select Configuration.
  • In the Developer Token section, select Generate Developer Token.

Enter this value into the apiKey field in the OpenAPI UI.