---
title: "GET /key-value-stores/{KvsARN}/keys/{Key}"
method: GET
path: "/key-value-stores/{KvsARN}/keys/{Key}"
---

# GET /key-value-stores/{KvsARN}/keys/{Key}

`GET /key-value-stores/{KvsARN}/keys/{Key}`

Returns a key value pair.

## Path parameters

- `KvsARN` string, required
- `Key` string, required

## Response `200`

Success

- GetKeyResponse — A key value pair.
  - `Key` string, required — The key of the key value pair.
  - `Value` string, password, required — The value of the key value pair.
  - `ItemCount` integer, required — Number of key value pairs in the Key Value Store.
  - `TotalSizeInBytes` integer, required — Total size of the Key Value Store in bytes.

## Other responses

- `480` — ConflictException
- `481` — InternalServerException
- `482` — ResourceNotFoundException
- `483` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/cloudfront-keyvaluestore.md) · [All operations](https://skmtc.net/aws/apis/cloudfront-keyvaluestore/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/cloudfront-keyvaluestore/versions/81b65599e9cc/schema)
