---
title: "Request a Petsem token for accessing KMS"
method: POST
path: "/v1/tokens/kms"
tags: ["Tokens"]
---

# Request a Petsem token for accessing KMS

`POST /v1/tokens/kms`

This site hosts documentation generated from the Fly.io Machines API OpenAPI specification. Visit our complete [Machines API docs](https://fly.io/docs/machines/api/apps-resource/) for details about using the Apps resource.

## Response `200`

KMS token

## Changes

- **2026-08-12** `f54480c4ce7f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/machines/apis/machines-api/changes/v1/tokens/kms/post.md)

---

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