---
title: "Secret login"
method: POST
path: "/api/clusters/{clusterName}/servers/{serverName}/{serverPort}/secret-login"
tags: ["Database"]
---

# Secret login

`POST /api/clusters/{clusterName}/servers/{serverName}/{serverPort}/secret-login`

Handles secret login for a specified server within a cluster.

## Path parameters

- `clusterName` string, required
- `serverName` string, required
- `serverPort` string, required

## Request body

- ServerDecodedData
  - `data` string

## Response `200`

Token

- string

## Other responses

- `400` — Decode reading body" or "Decode body
- `401` — Invalid secret
- `403` — No valid ACL
- `500` — No cluster" or "No server" or "Error decrypting data" or "Error signing token

## Changes

- **2026-07-17** `7465ea0ee21a` — 1 info
  - endpoint added
- **2023-03-31** `b57fc7b9446e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/signal18/apis/untitled-api/changes/api/clusters/:clusterName/servers/:serverName/:serverPort/secret-login/post.md)

---

[API](https://skmtc.dev/signal18/apis/untitled-api.md) · [All operations](https://skmtc.dev/signal18/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/signal18/untitled-api/revisions/ee076c6fc8dc/schema)
