---
# @generated by sylphx-gen. Do not edit.
title: "Sylphx Broker: Secret versions"
description: "The `secret_versions` collection of Sylphx Broker: A SecretVersion is one immutable value of a Secret."
type: reference
product: platform
summary: "A SecretVersion is one immutable value of a Secret."
updated: 2026-09-28
order: 900
nav: false
---

A SecretVersion is one immutable value of a Secret. The value is write-only: Create reads it, and no response carries it except AccessSecretVersion.

**Service** Sylphx Broker · **Resource type** `secrets.sylphx.com/SecretVersion` · **Name pattern** `orgs/{org}/projects/{project}/envs/{env}/secrets/{secret}/secret_versions/{secret_version}` · **Shape** `record`

## Fields

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | `…/secrets/{secret}/secret_versions/{secret_version}`; the id is the version number, from 1. |
| `uid` | `string` | `scv_<cell><ulid>`. Output only. |
| `meta` | `ResourceMeta` | Resource metadata. |
| `payload` | `bytes` | The value, at most 64 KiB. Write-only. Required. Never returned again. |
| `state` | `SecretVersionState` | The version's lifecycle state. Output only. One of `enabled`, `disabled`, `destroyed`. |
| `destroy_time` | `timestamp` | When the value was destroyed. Output only. |

## Methods

Every method of the collection, in the registry's order, with the scope it
needs. The full request, response and examples are one link away.

| Method | Call | What it does |
| --- | --- | --- |
| `POST` | [`send_carrier_sms`](/docs/api/broker/secret_versions#send-carrier-sms) | Sends one SMS with a pinned same-environment carrier credential in Secrets. Requires an exact-version broker:sms:send grant and an Idempotency-Key. Returns only a carrier receipt; never exports credentials or retries on a different carrier. The credential is a JSON secret payload with provider "telnyx" and an api_key string. Receipts are retained for 24 hours. If the outcome is unknown, reconcile with the carrier before attempting a new send. |

## send_carrier_sms

Sends one SMS with a pinned same-environment carrier credential in Secrets. Requires an exact-version broker:sms:send grant and an Idempotency-Key. Returns only a carrier receipt; never exports credentials or retries on a different carrier. The credential is a JSON secret payload with provider "telnyx" and an api_key string. Receipts are retained for 24 hours. If the outcome is unknown, reconcile with the carrier before attempting a new send.

`POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/secrets/secret/secret_versions/secret-version:sendCarrierSms` · scope `broker:sms:send` · effect `write` · [Request, response and examples](/docs/api/broker/secret_versions/send_carrier_sms)
