Token Authentication
Here you can find how to access to storage with token authentication

API Token

The storage uses a simple authentication model with a bearer token. This token should be sent as theAuthorization header in the following format:
Bearer <ACCESS_TOKEN>
ACCESS_TOKEN should be the same as the RS_API_TOKEN environment variable of the server.
An example of a request with CURL:
curl --header "Authorization: Bearer ${API_TOKEN}" -a http://127.0.0.1:8383/api/v1/info
The storage uses the token authentication whenRS_API_TOKEN is set.
Last modified 4d ago
Copy link
Edit on GitHub