Pre-requisites
- Self-host your Hoop Gateway. Our managed instance does not support this feature.
Setup
- The
org-idis a value that you obtain in the user info endpoint. Use the command line to obtain this information, e.g.:hoop admin get userinfo -o json - The
<random-string>is a secure key string that is going to be used to authenticated your requests
API_KEY=<org-id>|<random-string> when deploying your gateway.
Example:
The organization ID is only available after you deploy the gateway.
You’ll need to obtain this ID and then redeploy the instance with the API_KEY attribute set.
How it works
When requesting one of the allowed endpoints, you can pass the API Key in theApi-Key header with the configured value.
The Gateway will validate the API Key and allow the request to proceed without the need for user authentication.