---
title: "List Stores Endpoint"
method: POST
path: "/user/secrets/list-stores"
tags: ["user"]
---

# List Stores Endpoint

`POST /user/secrets/list-stores`

List the metadata of all configured secrets stores

## Request body

- ListStoresRequest
  - `tenant_id` string, required

## Response `200`

Successful Response

- ListStoresResponse
  - `default_store_id` string, required
  - `stores` SecretStoreDetails[], required
    - `type` 'aws' | 'tenzir', required
    - `id` string, required
    - `name` string, required
    - `is_writable` boolean, required
    - `is_deletable` boolean, required
    - `options` union, required
      - AwsWorkspaceSecretOptions
        - `region` string, required
        - `assumed_role_arn` string, required
        - `access_key` AwsAccessKey
          - `access_key_id` string, required
          - `secret_access_key` string, password, required
      - BuiltinWorkspaceSecretOptions
        - `derived_key` DerivedKey
          - `public_key` string, required
          - `keypath` string, required

## Other responses

- `403` — `{"detail": "Invalid API Key"}`
- `422` — Validation Error

---

[API](https://skmtc.dev/tenzir/apis/tenzir-platform-api.md) · [All operations](https://skmtc.dev/tenzir/apis/tenzir-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tenzir/tenzir-platform-api/revisions/1c6c33bb8ba3/schema)
