---
search:
  tags:
    - Secrets
    - GET
seo:
  description: >-
    Returns the names of a tenant's secrets. A secret's value is never read
    back. Reference for the GET /_luna/secrets/{tenant} endpoint in the Luna
    API.
sidebar:
  label: List secrets
  badge: GET
title: List secrets
type: openapi-operation
---
Returns the names of a tenant's secrets. A secret's value is never read back.

`GET /_luna/secrets/{tenant}`

**Responses**

- `200` — The names.
- `default` — The request failed. The status says how and \`error.message\` says why.

Response example, 200:

```json
{
  "names": [
    "string"
  ]
}
```
