The Upstash API requires API keys to authenticate requests. You can view and manage API keys at the Upstash Console.
Upstash API uses HTTP Basic authentication. You should pass
API_KEY as basic authentication username and password respectively.
With a client such as
curl, you can pass your credentials with the
option, as the following example shows:
curl https://api.upstash.com/v2/redis/database -u EMAIL:API_KEY
API_KEY with your email and API key.