Learn how the API Key feature works and how to use it
org-id
is 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
<random-string>
is a secure key string that is going to be used to authenticated your requests<random-string>
value.
We recommend using openssl
which is present in most unix systems by default. e.g.: openssl rand 64 | base64
API_KEY=<org-id>|<random-string>
when deploying your gateway.
Example:
Api-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.