---
title: "Get Secret Keys"
method: GET
path: "/secret-keys"
tags: ["secret-keys"]
---

# Get Secret Keys

`GET /secret-keys`

Gets all secret keys for the project

## Response `200`

OK

- ModelGetSecretKeysResponse
  - `alternateSecretKeys` string[] — AlternateSecretKeys are additional secret keys that can be used for an account.
  - `defaultSecretKey` string — DefaultSecretKey is the default secret key for the account.
  - `names` string[] — Names are the names of the secret keys that can be used for an account. index 0 is the default secret key, index 1+ are alternate secret key names

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/bindplane/apis/docs-bindplane-com.md) · [All operations](https://skmtc.dev/bindplane/apis/docs-bindplane-com/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bindplane/docs-bindplane-com/revisions/bfcb7e57121c/schema)
