Conversation
|
🎉 All Contributor License Agreements have been signed. Ready to merge. |
There was a problem hiding this comment.
Pull request overview
This PR adds support for creating Global API keys in the Confluent CLI, extending the existing API key management functionality to support a new resource type alongside Cloud, Flink, and Tableflow API keys.
Changes:
- Added "global" as a new resource type constant and integrated it throughout the API key lifecycle (create, list, lookup)
- Updated command documentation and help text to reference Global API keys
- Added test coverage for the new Global API key resource type
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/resource/resource.go | Added Global constant and updated LookupType function to recognize "global" as a valid resource type |
| internal/api-key/command_test.go | Added test case for Global API key resource type resolution |
| internal/api-key/command_list.go | Updated list and getResourceId functions to handle Global resource type |
| internal/api-key/command_create.go | Added example for Global API key creation and case handling in create function |
| internal/api-key/command.go | Updated help text, autocomplete suggestions, and resource type resolution to include Global API keys |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|




Release Notes
Breaking Changes
NA
New Features
Global API Key Create Support In Cli
Bug Fixes
NA
Checklist
Whatsection below whether this PR applies to Confluent Cloud, Confluent Platform, or both.Test & Reviewsection below.Blast Radiussection below.What
Confluent Cloud
Support UAK - Global API key creation
Blast Radius
Low blast radius - only impact UAK - global API key (which is a new feature)
This feature is not yet enabled in prod.
References
https://confluentinc.atlassian.net/browse/IDENTITY-5922
Test & Review