Get a cache's administrative credential
GET
/api/v3/organizations/{organisation}/resources/{resource}/credentials
const url = 'https://dashboard.quantcdn.io/api/v3/organizations/test-org/resources/vk-sessions/credentials';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://dashboard.quantcdn.io/api/v3/organizations/test-org/resources/vk-sessions/credentials \ --header 'Authorization: Bearer <token>'Cache resources only. Returns the cache-wide user (every key, every command, including FLUSHDB) with host and port. Environments attached to the cache use their own scoped users; this credential is for operators who genuinely need unrestricted access. Every read is audit-logged against the requesting user.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
The organisation ID
Example
test-orgresource
required
string
The resource ID
Example
vk-sessionsResponses
Section titled “Responses”The admin credential
Media typeapplication/json
object
host
string
port
integer
tls
boolean
username
string
password
string
note
string
Example
{ "port": 6379, "tls": true}Not a cache resource, or not yet available
