---
search:
  tags:
    - App keys
    - GET
seo:
  description: >-
    Returns the credentials an app's callers use to reach a tenant: its
    publishable… Reference for the GET /_luna/tenants/{tenant}/keys endpoint in
    the Luna API.
sidebar:
  label: List app keys
  badge: GET
title: List app keys
type: openapi-operation
---
Returns the credentials an app's callers use to reach a tenant: its publishable keys, which are safe to ship in a client, and its secret tokens, which are not shown. A tenant is born with one of each, with the ids `primary` and `primary-secret`.

`GET /_luna/tenants/{tenant}/keys`

**Responses**

- `200` — The tenant's keys.
- `default` — The request failed. The status says how and \`error.message\` says why.

Response example, 200:

```json
{
  "keys": [
    {
      "id": "string",
      "kind": "string",
      "key": "string",
      "name": "string",
      "origins": [
        "string"
      ],
      "ratePerSecond": 0,
      "types": [
        "string"
      ],
      "expiresMs": 0,
      "createdMs": 0
    }
  ]
}
```
