Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.envless.cloud/llms.txt

Use this file to discover all available pages before exploring further.

When it fires

After RotateKey succeeds via the internal rotate endpoint. The new key value is NOT in the payload — only the updated counter.

Payload

{
    type: 'key.rotated',
    data: {
        key: {
            id: string
            name: string
            keyRolls: number  // monotonically increasing on each rotation
        }
    }
}

Example

{
    "type": "key.rotated",
    "data": {
        "key": {
            "id": "0192a1b2-c3d4-7000-8000-000000000090",
            "name": "CI deploy key",
            "keyRolls": 3
        }
    }
}