---
title: "POST /v1/secret"
method: POST
path: "/v1/secret"
tags: ["secret"]
---

# POST /v1/secret

`POST /v1/secret`

Create new secret

## Request body

- SecretKeyValue
  - `key` string, required — Secret key
  - `value` string, required — Secret value

## Response `201`

A description of the new secret

- SecretKeyValue
  - `key` string, required — Secret key
  - `value` string, required — Secret value

---

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