---
title: "Show environment access secret"
method: GET
path: "/environments/{environment_key}/access_secrets/{access_secret_key}"
tags: ["access_secrets"]
---

# Show environment access secret

`GET /environments/{environment_key}/access_secrets/{access_secret_key}`

Get an access secret with the given key. This call should be authenticated with the key of the environment that you are accessing and an Organization Access Secret.

## Response `200`

Successful

- AccessSecretResponse
  - `access_secret` 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.dev/spreedly/apis/spreedly-api-v1.md) · [All operations](https://skmtc.dev/spreedly/apis/spreedly-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/spreedly/spreedly-api-v1/revisions/72ba4e23e65c/schema)
