docs

API keys

How heliumOS Wi-Fi offload keys are issued, scoped, and rotated.

Every request authenticates with an API key sent in a custom header:

X-Helium-P-API-Key: pk_live_...

The gateway takes the header, resolves it to your partner ID, and forwards the request to the inventory service. From your side it looks like a single API call.

Treat keys like database passwords. Never embed one in a client-side bundle, commit it, or paste it into logs. The mobile SDK reads the key from process.env at startup, which is fine if you build it into the bundle and not fine if you log the resolved config.

Getting a key

Your operator's owner creates keys in the heliumOS dashboard, under WiFi Offload → WiFi certificates:

  1. Pick the environment with the sandbox/live toggle in the top right. A sandbox key works only against the sandbox gateway, a live key only against production (see environments).
  2. Click New API key, give it a label saying where it will live (for example "Acme iOS app"), and choose who uses it: App (SDK) for a Partner SDK key, Backend for a Partner Admin key (see roles below).
  3. Copy the key from the dialog and store it in your secrets manager. It is shown once. If you lose it, revoke it and create another.

A live key needs a passkey on the owner's dashboard session. Other dashboard roles can see the list of keys but can't create or revoke them. The page also shows a setup checklist: your partner record, your Passpoint profile, a key, and your first issued certificate.

If the page says no WiFi partner is connected yet, ask your account owner: Helium connects each environment to its partner record once.

Roles

Each key is assigned a role at issuance time. There are two:

RoleUse forGrants
Partner SDKKeys embedded in your mobile app via @helium/passpoint-sdk.Generate and query Passpoint profiles for your subscribers.
Partner AdminKeys used by your backend to manage subscribers end to end.Everything in Partner SDK, plus: create, read, and revoke subscribers; read your partner record; issue and rotate access-point certificates.

Pick the narrowest role that fits the caller. The SDK in a mobile bundle should always use a Partner SDK key. A Partner Admin key in a shipped app would let anyone who extracts it mutate your subscriber list.

If you need a different combination, talk to your account owner. Custom roles are possible, but the two above cover every production integration today.

Compromise response

If you suspect a key has been exposed:

  1. Your operator's owner revokes it on the WiFi certificates page. Any requests using it start failing with 401 straight away.
  2. Create a replacement there, and put it in your services.
  3. Audit your logs for unexpected use of the exposed key, and tell your account owner with the subject "Wi-Fi offload key compromise", including the key's label and the time window of suspected exposure.