---
title: "Sign with a secret key"
method: POST
path: "/apps/{app_name}/secretkeys/{secret_name}/sign"
tags: ["Secrets"]
---

# Sign with a secret key

`POST /apps/{app_name}/secretkeys/{secret_name}/sign`

## Path parameters

- `app_name` string, required
- `secret_name` string, required

## Query parameters

- `min_version` string

## Request body

- SignSecretkeyRequest
  - `plaintext` integer[]

## Response `200`

OK

- SignSecretkeyResponse
  - `signature` integer[]

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/machines/apis/machines-api.md) · [All operations](https://skmtc.net/machines/apis/machines-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/machines/machines-api/versions/4bd07b0facf4/schema)
