Kong / Kong/developer.konghq.com

AI Gateway 2.1: support for Kong Identity Principals

Open
#6,768 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

internal priority: high product:ai-gateway
Dominant language
Ruby
Stars
28
Forks
121
Avg merge
1d 4h
Merged PRs (30d)
313

Description

AI Gateway 2.1 adds support for Kong Identity Principals for AI-specific rate limiting, access control, and analytics. We need to update the relevant AI Gateway documentation to explain where authenticated Principals can be used. The feature is additive and existing Consumer-based behavior remains unchanged.

Scope

NOTE: This is TBD with Greg and engineering

Document the customer-facing surfaces:

  • AI Model Provider: configuring principal as the identifier for AI rate limiting, alongside consumer.
  • Conditional access: using Principal metadata in existing condition fields, for example:
principal.metadata.tier == "gold"
  • AI Analytics: using Principal as a dimension/filter for AI traffic and cost attribution.
  • How Principal-based AI functionality relates to the existing Kong Identity authentication flow.
  • Principal vs Consumer behavior where it is relevant to users.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the relevant AI Gateway documentation and existing sections that describe Consumer-based behavior and Kong Identity authentication. Document Principal use for AI rate limiting, conditional access, analytics, and the Principal-versus-Consumer relationship; done means all listed customer-facing surfaces are covered without changing existing Consumer behavior.

Written by the indexing model from the issue text.

Assessment

Domain
ai, analytics, authentication, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.