API keys
Issue, rotate, revoke, and test the credentials your subscribers use to call your products.
Issue, rotate, revoke, and test the credentials your subscribers use to call your products.
API keys are the connective tissue between a subscriber's request and the product, subscription, and plan it bills against. They are the credential subscribers use whenever they call a Farther Shore product.
Most product docs only need to mention subscriber API keys. The other key types are operational and do not show up in customer-facing flows.
| Key type | Used by | Purpose |
|---|---|---|
builder | Product owners | Manage products in the builder console. |
maker | Automation | Validate or sync product configuration from CI. |
subscriber | Subscribers | Call live products through the gateway. |
The common pattern is a bearer token. Send the key in the Authorization
header on every request.
If your product uses a different header, document the substitution clearly in your product portal so subscribers do not have to dig.
From your portal or your own checkout. The plan determines which environments and limits the resulting key gets.
Farther Shore records the subscription, attaches it to the right plan, and prepares it to issue keys.
They name it, pick its environment, and copy it. The plaintext is shown once; only the prefix is visible afterward.
Farther Shore publishes the key metadata to the edge cache so the next gateway request can resolve the subscriber quickly.
Each request is authenticated against the cache, checked for plan headroom, forwarded when allowed, and metered.
Rotate keys when:
Rotation should be non-disruptive. Issue a new key, keep the old key valid for a grace window, update the subscriber's client, and revoke the old key after traffic drains to zero.
You can use key labels, request timestamps, and gateway response codes to confirm traffic has moved to the new credential before revoking the old one.
Revoking is final. Use it when a key is known-compromised and you need traffic to fail as soon as edge configuration refreshes. For everything else, prefer rotation with a grace window.
If a revoked key still appears to work, verify:
Never ask a subscriber to paste a full API key into a ticket or chat. Ask for:
Use the recipe Issue and test an API key to verify the complete subscriber request path.