Skip to content
Console
Menu

Getting Started

Authentication

KV Store

Rotate credential on an agent

Rotates the captured value under the same handle with generation fencing.

Rotates the captured value under the same handle with generation fencing.

Not available yet. Sylphx Agents is declared in the registry but no backend serves it: every call answers 501 with the problem code UNIMPLEMENTED.

  • Path POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/agents:rotate-credential
  • Scope agents:sessions
  • Effect write — a successful call changes state.
  • Collection agents

#Request

FieldTypeWhat it is
parentstringThe environment that owns the captured handle. Required.
handlestringThe opaque handle whose captured credential is being replaced. Required. Never returned again.
generationint64The current handle generation; stale rotations are refused. Required.
credentialstringThe replacement issuer-provided credential, stored encrypted. Required. Never returned again.
expires_attimestampThe issuer-provided expiry of the replacement credential. Required.

#Response

FieldTypeWhat it is
handlestringThe opaque handle; it never reveals the captured credential. Output only. Never returned again.
generationint64The current fencing generation of the captured handle. Output only.
expires_attimestampThe issuer-provided expiry of the captured credential. Output only.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/agents:rotate-credential" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"credential":"…","expires_at":{},"generation":1,"handle":"…"}'