Repository navigation
Document expanded scoped API key permissions - #751
Open
sjmiller609 wants to merge 16 commits into
Open
sjmiller609 wants to merge 16 commits into
sjmiller609 wants to merge 16 commits into
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
…d-key-docs # Conflicts: # info/api-keys.mdx
sjmiller609
marked this pull request as ready for review
November 23, 2026 21:57
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 952830a. Configure here.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Expand the scoping reference to cover the public API permissions and add paired TypeScript and Python policies for common workloads. Document which actions must be granted together and when callers need access to resources referenced by another object.
api_keys:write) from replacing its policy and IP conditions in place (api_keys:set_policy). Cover delegation, expiry, rotation and revocation without changing the workload identity guidance.Availability
The API code is deployed. Scoped deployment creation is not enabled in production. The deploy guide calls out that a scoped deploy or an explicit
runtime_policyreturns403until enabled; this PR does not announce general availability or change any flags.Validation
mint validateandmint broken-linkspassed at6f50d86.Note
Low Risk
Documentation-only changes with no runtime or infrastructure impact.
Overview
This PR updates Kernel docs for policy-scoped API keys, deployment runtime policies, and related auth behavior.
It adds
info/api-key-policy-exampleswith paired TypeScript/Python policies for common workloads, and links it fromdocs.json.info/api-key-permissionsis expanded into a full permission reference: resource selectors, ~87 actions (extensions, pools, telemetry, apps, API keys, audit, etc.), and tables for multi-action operations.info/api-keysnow covers org/project scope vs policy, key delegation,api_keys:set_policyandapi_keys:issue_beyond_expiry, stricter scoped expiry/rotation rules, and a revised deployment key model (per-invocation 65-minute keys, optionalruntime_policy, scoped deploy/invoke requirements).apps/deploydocuments scoped deploy permissions andruntime_policy, with a note that scoped deploy returns403until the feature is enabled.Related pages (telemetry export, projects, CLI) are aligned on policy-scoped telemetry destinations, OAuth consent/project targeting, and that native OAuth cannot manage API keys.
Reviewed by Cursor Bugbot for commit 6f50d86. Bugbot is set up for automated code reviews on this repo. Configure here.