Skip to content
Console
On this page

Sylphx Broker: Secret versions

A SecretVersion is one immutable value of a Secret.

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

FieldTypeWhat it is
namestring…/secrets/{secret}/secret_versions/{secret_version}; the id is the version number, from 1.
uidstringscv_<cell><ulid>. Output only.
metaResourceMetaResource metadata.
payloadbytesThe value, at most 64 KiB. Write-only. Required. Never returned again.
stateSecretVersionStateThe version's lifecycle state. Output only. One of enabled, disabled, destroyed.
destroy_timetimestampWhen 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.

MethodCallWhat it does
POSTsend_carrier_smsSends 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