Secrets

List of secrets.

Fetch secrets with filter and pagination.

get/_fabric/{fabric}/_api/kms/secret

Request

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.

errorboolean

Flag if there is an error in response. False for this response.

codeinteger

The generated response code. value property always returns as null.

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.