Get key store usage
/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
Response Body
How many keep their secrets in this key store.
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.
How many in the environment still have their secrets encrypted by Truto: written before a store was current, and not moved since.
How many keep their secrets in this key store.
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.
How many in the environment still have their secrets encrypted by Truto: written before a store was current, and not moved since.
Errors
| Status | Description |
|---|---|
404 | Not 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())