MY_KV). The binding’s expirationTtl option is a no-op today, so this example enforces expiry in code with the putWithExpiry/getWithExpiry helpers from Key Expiration. (Server-side TTL is also available over REST via ttl_secs.)
Non-TypeScript functions build the same expiry envelope on top of the raw
kvGet/kvPut REST helpers — or use the native ttl_secs REST parameter. See Key Expiration.