Skip to content
GET /key-store/{id}/usage

How many of the environment's integrated accounts and environment integrations keep their secrets in this key store, how many still have them encrypted by Truto, and how many are in another of the environment's key stores.

Path Parameters

idstring · uuid
required

Response Body

environment_integrationsobject
in_key_storeinteger

How many keep their secrets in this key store.

in_other_storesinteger

How many in the environment keep their secrets in another of its key stores (one it was switched away from). "Move all now" on the current store moves them.

in_trutointeger

How many in the environment still have their secrets encrypted by Truto: written before a store was current, and not moved since.

integrated_accountsobject
in_key_storeinteger

How many keep their secrets in this key store.

in_other_storesinteger

How many in the environment keep their secrets in another of its key stores (one it was switched away from). "Move all now" on the current store moves them.

in_trutointeger

How many in the environment still have their secrets encrypted by Truto: written before a store was current, and not moved since.

Errors

StatusDescription
404Not found
curl -X GET 'https://api.truto.one/key-store/{id}/usage' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.truto.one/key-store/{id}/usage', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import requests

url = "https://api.truto.one/key-store/{id}/usage"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())