Skip to main content

replica

Called by the cloud with its client certificate

📄️putHub

A hub enrolled, renewed its Watch key, was revoked or had its Watch rotation changed (docs/watch.md §1). Sent at the change and again with every replica push. On the first call Watch creates the hub's hub and synthetic checks, which don't count against `watch_checks`; every call sets the key, name, installation, rotation and fallback numbers of both and the synthetic check's cadence, which only the cloud changes. A change of the rotation or the fallback numbers, a revocation and a deletion are told to the previous fallback numbers, and Watch takes at most 20 revocations and deletions an hour from the cloud (docs/watch.md §5). A null `watch_key` revokes the hub: its beats are rejected and its checks are paused until a call with a key resumes them (docs/watch.md §1).