Retrieve the keys (names) of secrets in a specified group within a compute environment. For security reasons, actual secret values are not returned - only the keys and metadata.
curl --request GET \
--url https://api.case.dev/compute/v1/secrets/{group} \
--header 'Authorization: Bearer <token>'{
"group": {
"id": "grp_123",
"name": "api-keys",
"description": "Third-party API keys for legal research tools"
},
"keys": [
{
"key": "LEXIS_API_KEY",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
{
"key": "WESTLAW_ACCESS_TOKEN",
"createdAt": "2024-01-16T14:20:00Z",
"updatedAt": "2024-01-20T09:15:00Z"
}
]
}API key starting with sk_case_
Name of the secret group to list keys from
Environment name. If not specified, uses the default environment
Was this page helpful?
curl --request GET \
--url https://api.case.dev/compute/v1/secrets/{group} \
--header 'Authorization: Bearer <token>'{
"group": {
"id": "grp_123",
"name": "api-keys",
"description": "Third-party API keys for legal research tools"
},
"keys": [
{
"key": "LEXIS_API_KEY",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
},
{
"key": "WESTLAW_ACCESS_TOKEN",
"createdAt": "2024-01-16T14:20:00Z",
"updatedAt": "2024-01-20T09:15:00Z"
}
]
}