noCV
BAPIAUTH-107 · Support client operations

Rate-limit by delegated client without losing tenant-wide protection

Practice briefTaskIntermediate

Creating many client keys bypasses a per-key request limit.

Focused work estimate
2h 30m + prerequisites
Priority in the scenario
Medium
Engineering practice
API limits

Estimated field mix

  • API design50%
  • Site reliability30%
  • Security20%

Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.

Your next step

Review it, then add it to your workspace.

The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.

Project context

A fictional operations platform lets customers connect automation clients. Broad API keys and inconsistent tenant checks make delegated access difficult to review.

Setup prerequisites

  • Create a local authorization service and synthetic partner clients for two organizations; generate disposable test credentials only.

Preceding work

Complete these dependencies, or supply their agreed outputs before taking this ticket.

Acceptance criteria

  • Apply both client and organization budgets.
  • Return documented retry guidance.
  • Keep denied requests from consuming unrelated client authority.

Implementation constraints

  • Use deterministic local counters and no customer profiling.

Verification to include

  • Exercise separate clients within the organization ceiling.
  • Create multiple clients and verify the shared cap holds.

Deliverables

  • Delegated rate-limit contract.

Rollout and recovery

Start with published conservative limits and inspect false rejection cases.

Value of the work

For the engineer: Practice delegated authorization, resource scoping, and secure public API ergonomics.

For the team: Provide usable partner access that remains least-privilege and revocable.

Evidence boundaries

Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.

Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.