Secrets
List of secrets.
Fetch secrets with filter and pagination.
get/_fabric/{fabric}/_api/kms/secret
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScripthttps://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_fabric/:fabric/_api/kms/secret/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
fabricstring required
The name of the fabric.
Query parameters
namestring
The name of the secret.
keyNamestring
Name of the secret's key.
keyIdstring
ID of the secret's key.
offsetinteger
Number of secrets to skip before displaying results. Default: 0
countinteger
The number of secrets to return. Default: 50
sortBystring
Sort by field name.
order'ASC' | 'DESC'
Order the results ascending (ASC) or descending (DESC). Use with sortBy.
Response
Successfully fetched the list of secrets.
Example response
{
"code": 200,
"result": {
"total": 100,
"count": 50,
"items": [
{
"name": "secret_name_1",
"tenant": "_mm",
"fabric": "_system",
"createdAt": 1689020889736,
"updatedAt": 1689020889736
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.