This guide builds on the AI Policy step and introduces consumer-level authentication to the running AI Gateway deployment. Before creating AI Consumers, you configure an AIGatewayAuthStrategy that defines the authentication scheme, then attach it to an AI Model via spec.apiSpec.model.access.authStrategies. Authentication is enforced per-AI Model, not globally. An AI Model without an AI Auth Strategy reference accepts unauthenticated traffic.
With AI Consumers in place you can:
- Issue API keys per team and revoke them independently
- Enforce per-consumer
AIGatewayPolicyrules such as different allowlists per team - Group AI Consumers with
AIGatewayConsumerGroupto target shared AI Policies, model access controls, and analytics attribution at the group level - Attribute usage and cost to a specific AI Consumer in the Konnect analytics dashboard