---
title: "Sync Env Secret Refs To Vm"
method: POST
path: "/v1/envs/{env_id}/secrets/sync"
---

# Sync Env Secret Refs To Vm

`POST /v1/envs/{env_id}/secrets/sync`

## Request

- Base URL: `https://api.tabtabtab.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tabtabtab.ai/v1/envs/{env_id}/secrets/sync`
- Auth: none declared

Write KEY=opaque-ref pairs into the env VM's runtime environment.

The VM never receives secret values: refs are resolved in-flight by the
Central Yamato proxy. Restarting the runtime service lets new keys become
visible to workloads; rotations need no sync because refs are stable.

## Path parameters

- `env_id` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tabtabtab/apis/tabtabtab-api.md) - [All operations](https://skmtc.dev/tabtabtab/apis/tabtabtab-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tabtabtab/apis/tabtabtab-api/revisions/73961d1e6152?raw)
