---
title: "Add a security key to a distribution"
method: POST
path: "/distributions/{id}/security/keys"
tags: ["Distributions"]
---

# Add a security key to a distribution

`POST /distributions/{id}/security/keys`

## Path parameters

- `id` string, required — Distribution ID

## Request body

- CreateDistributionSecurityKeyBody
  - `name` string — Name of the security key
  - `key` string, required — Security key value

## Response `200`

Security key created

- DistributionSecurityKeyObjectResult
  - `data` object, required — Security key object
    - `id` string, required — Security key ID
    - `name` string — Security key name

---

[API](https://skmtc.net/dolby/apis/theolive-api.md) · [All operations](https://skmtc.net/dolby/apis/theolive-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dolby/theolive-api/revisions/3dc30dd23624/schema)
