---
title: "Create new secret"
method: POST
path: "/v1/secrets"
tags: ["Serverless Containers"]
---

# Create new secret

`POST /v1/secrets`

## Request body

- CreateSecretPublicApiDto
  - `name` string, required — Name of the secret
  - `value` string, required — Value of the secret

## Response `201`

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/datacrunch/apis/verda-cloud-public-api.md) · [All operations](https://skmtc.net/datacrunch/apis/verda-cloud-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datacrunch/verda-cloud-public-api/revisions/0d66c7340876/schema)
