Skip to content

Keyset

GET /{tenantId}/.well-known/keylight-keys

The tenant’s trusted Ed25519 keyset, used to verify leases offline. Public — no auth, no productId.

Terminal window
curl https://api.keylight.dev/acme/.well-known/keylight-keys
{
"primary_kid": "k1",
"keys": [
{ "kid": "k1", "alg": "ed25519", "public_key": "<raw ed25519 public key, base64>" }
]
}

Pin these keys or fetch them once, then verify each lease against keys[kid]. See Offline leases.

Trusted signing keys are required for online activation too: the SDK verifies the returned lease before storing it. The SDK key authenticates requests; it does not replace the Ed25519 public key. Use each key’s kid and base64 public_key together.

For a shipped app, fetch the keyset during setup and pin the trusted keys in your build so offline startup does not depend on a keyset request. If your setup code fetches keys, handle a failed or empty response explicitly instead of continuing with an empty key map.