---
title: "List environment access secrets"
method: GET
path: "/environments/{environment_key}/access_secrets"
tags: ["access_secrets"]
---

# List environment access secrets

`GET /environments/{environment_key}/access_secrets`

Retrieve a list of all access secrets in an environment. This call should be authenticated with the key of the environment that you are accessing and an Organization Access Secret.

## Response `200`

Successful

- ListAccessSecretsResponse
  - `access_secrets` AccessSecretProperties[]
    - `key` string — The key identifying the environment at Spreedly.
    - `environment` string — The name of the environment that the access_secret belongs to.
    - `name` string — The human readable name of the access secret.
    - `access_secret` string — The access secret value.
    - `created_at` string — The access secret's created_at date.

## Other responses

- `401` — Unauthorized
- `404` — Not found

---

[API](https://skmtc.net/spreedly/apis/spreedly-api-v1.md) · [All operations](https://skmtc.net/spreedly/apis/spreedly-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spreedly/spreedly-api-v1/versions/72ba4e23e65c/schema)
