Redis Databases

Get Redis connection credentials

Returns the rediss:// URI plus the REST URL and read/write and read-only REST tokens for a ready Redis database. These credentials grant access to the database; treat them as secrets. Responds 404 until the database is ready.

get/api/v1/redis-databases/{databaseId}/connection

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/redis-databases/{databaseId}/connection
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

databaseIdstring required

Response

The Redis connection credentials for the ready database.

restUrlstring uri required
restTokenstring required
readOnlyRestTokenstring required
redisUrlstring uri required

Changes

No recorded changes to this operation across all 1 revision of this API.