Namespaces

Get secrets for a namespace

Changed on
get/api/v1/{tenant}/namespaces/{namespace}/secrets

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/{tenant}/namespaces/{namespace}/secrets
  • Auth: one of:
    • HTTP bearer
    • HTTP basic

Path parameters

namespacestring required

The namespace id

tenantstring required

Query parameters

pageinteger required

The current page

sizeinteger required

The current page size

sortstring[] nullable

The sort of current page

field'QUERY' | 'SCOPE' | 'NAMESPACE' | 'KIND' | 'LABELS' | 'METADATA' | 'FLOW_ID' | 'FLOW_REVISION' | 'ID' | 'ASSET_ID' | 'TYPE' | 'CREATED' | 'UPDATED' | 'START_DATE' | 'END_DATE' | 'EXPIRATION_DATE' | 'STATE' | 'TIME_RANGE' | 'TRIGGER_EXECUTION_ID' | 'TRIGGER_ID' | 'TRIGGER_STATE' | 'EXECUTION_ID' | 'TASK_ID' | 'TASK_RUN_ID' | 'CHILD_FILTER' | 'WORKER_ID' | 'EXISTING_ONLY' | 'MIN_LEVEL' | 'PATH' | 'PARENT_PATH' | 'VERSION' | 'USERNAME'
operation'EQUALS' | 'NOT_EQUALS' | 'GREATER_THAN' | 'LESS_THAN' | 'GREATER_THAN_OR_EQUAL_TO' | 'LESS_THAN_OR_EQUAL_TO' | 'IN' | 'NOT_IN' | 'STARTS_WITH' | 'ENDS_WITH' | 'CONTAINS' | 'REGEX' | 'PREFIX'
valueobject

Filters

Response

listNamespaceSecrets 200 response

readOnlyboolean required
totalinteger

Example response

{
  "total": 0,
  "readOnly": true,
  "results": [
    {
      "namespace": "namespace",
      "description": "description",
      "key": "key",
      "tags": [
        {
          "value": "value",
          "key": "key"
        },
        {
          "value": "value",
          "key": "key"
        }
      ]
    },
    {
      "namespace": "namespace",
      "description": "description",
      "key": "key",
      "tags": [
        {
          "value": "value",
          "key": "key"
        },
        {
          "value": "value",
          "key": "key"
        }
      ]
    }
  ]
}

Changes

    • info

      added the enum value EXPIRATION_DATE to the property items/field of the query request parameter filters

    • info

      added the enum value USERNAME to the property items/field of the query request parameter filters

    • breaking

      the response property /// became optional for the status