---
title: Config store
summary: A container that lets you store data in key-value pairs. <a href="https://www.fastly.com/documentation/guides/concepts/edge-state/dynamic-config">Learn more about config stores</a>.
url: https://www.fastly.com/documentation/reference/api/services/resources/config-store
---

A container that lets you store data in key-value pairs. <a href="https://www.fastly.com/documentation/guides/concepts/edge-state/dynamic-config">Learn more about config stores</a>.

## Data model

| Field | Type | Description |
|-------|------|-------------|
| `name` | string | The name of the config store. |
| `created_at` | string | Date and time in ISO 8601 format. (Read-only) |
| `deleted_at` | string | Date and time in ISO 8601 format. (Read-only) |
| `id` | string | An alphanumeric string identifying the config store. |
| `updated_at` | string | Date and time in ISO 8601 format. (Read-only) |

## Data model

| Field | Type | Description |
|-------|------|-------------|
| `item_count` | integer | The number of items currently in the config store. |

## API endpoints

### List config stores

**GET** `/resources/stores/config`

List config stores.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `name` | string | query | No | Returns a one-element array containing the details for the named config store. |

### Create a config store

**POST** `/resources/stores/config`

Create a config store.

### Describe a config store

**GET** `/resources/stores/config/{config_store_id}`

Describe a config store by its identifier.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `config_store_id` | string | path | Yes | An alphanumeric string identifying the config store. |

### Update a config store

**PUT** `/resources/stores/config/{config_store_id}`

Update a config store.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `config_store_id` | string | path | Yes | An alphanumeric string identifying the config store. |

### Delete a config store

**DELETE** `/resources/stores/config/{config_store_id}`

Delete a config store.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `config_store_id` | string | path | Yes | An alphanumeric string identifying the config store. |

### Get config store metadata

**GET** `/resources/stores/config/{config_store_id}/info`

Retrieve metadata for a single config store.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `config_store_id` | string | path | Yes | An alphanumeric string identifying the config store. |

### List linked services

**GET** `/resources/stores/config/{config_store_id}/services`

List services linked to a config store.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `config_store_id` | string | path | Yes | An alphanumeric string identifying the config store. |

