Create, rotate, and revoke API keys
Use one named key per integration and environment. The complete credential is shown once; Waqar later displays only safe identifying and lifecycle metadata.
Create a key
Section titled “Create a key”- As a school administrator, open Settings.
- Find API key management and confirm that API access is available.
- Open the rendered API documentation and agree on the minimum scopes with the integrator.
- Enter a name that identifies the system, environment, and owner.
- Set an expiration date when the integration lifecycle permits.
- Select only the required scopes.
- Choose Create API key.
- Copy the displayed credential immediately to the approved secret manager.
- Close the reveal and verify the key’s name, safe identifier, scopes, creation time, expiration, and last-used state in the inventory.
The full credential is not shown again after refresh. If it is lost, create a replacement; it cannot be recovered.
Each scope may appear only once in a submission. Duplicate values—including a case-variant duplicate—are rejected before a key, audit event, or credential is created. The key controls reflow at narrow widths and browser zoom; the one-time value wraps inside its protected reveal instead of widening the page.
Deliver the credential safely
Section titled “Deliver the credential safely”- Prefer direct insertion into the integration’s secret manager.
- Never send it in chat, email, a ticket, source control, a screenshot, or a wiki page.
- Do not give a production key to browser code or a developer workstation.
- Record the human owner and intended service separately from the secret.
Rotate without downtime
Section titled “Rotate without downtime”- Create a replacement with the required current scopes.
- Install it in the integration without removing the old key.
- Make a small authenticated request and verify the expected school.
- Watch the new key’s last-used metadata.
- Revoke the old key.
- Confirm that the integration continues with the replacement.
Scopes and expiration are immutable. Rotation is also the way to add a newly released scope; existing keys never gain one automatically.
Revoke a key
Section titled “Revoke a key”Choose Revoke for the exact key, confirm its safe identifier, and verify that it is marked revoked. Revocation is immediate and cannot be undone. Create a replacement if access is needed again. If a browser retries the same revocation submission, Waqar treats it as a safe replay: the key remains revoked and no duplicate transition audit event is created. An invalid or unavailable key reference shows the localized not-found page and does not change another school’s key.
When requests are denied
Section titled “When requests are denied”Check expiration, revocation, required scope, school eligibility, suspension, quota, rollout, and any configured source-network restriction. If a CIDR restriction is active, coordinate before changing integration egress.