Skip to content

docs: document additional environment API keys - #4406

Open
carderne wants to merge 6 commits into
mainfrom
docs/api-keys-overhaul
Open

docs: document additional environment API keys#4406
carderne wants to merge 6 commits into
mainfrom
docs/api-keys-overhaul

Conversation

@carderne

Copy link
Copy Markdown
Collaborator

Summary

Expands the API key guide to cover root and additional environment keys. It explains how to configure the SDK, create keys with limited access, manage expiration and revocation, rotate the root key, and use keys with public tokens and branch environments.

Design

The guide describes access presets at the product level without exposing authorization internals. It also documents copy-once secrets, immutable access policies, task-selection limits, public-token lifetimes, streamed-batch behavior, and the supported self-hosted configuration.

@changeset-bot

changeset-bot Bot commented Jul 28, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 8d3bf1f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 6e7bf60e-f362-4b2a-ae1c-4d95ada0a016

📥 Commits

Reviewing files that changed from the base of the PR and between 8cab73f and 0f1a46e.

📒 Files selected for processing (1)
  • docs/apikeys.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/apikeys.mdx

Walkthrough

Updates API key documentation with environment scoping, SDK and self-hosted configuration, key creation, access presets, deployment authentication, expiration, revocation, public tokens, branch targeting, root-key regeneration, and security guidance. Clarifies that numeric public-token expiration values use Unix timestamps in seconds and cannot exceed 30 days.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the documentation changes but omits the required issue reference, checklist, testing, changelog, and screenshots sections. Add the required template sections and complete the checklist, testing steps, changelog, screenshots, and issue reference.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the primary change: documenting additional environment API keys.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/api-keys-overhaul

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

coderabbitai[bot]

This comment was marked as resolved.

@carderne
carderne force-pushed the docs/api-keys-overhaul branch from 11216bf to 94e2d96 Compare August 6, 2026 16:38
@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@carderne
carderne marked this pull request as ready for review August 6, 2026 16:38
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

@carderne
carderne force-pushed the docs/api-keys-overhaul branch from 5125476 to 8cab73f Compare August 13, 2026 11:04
@pkg-pr-new

pkg-pr-new Bot commented Aug 13, 2026

Copy link
Copy Markdown

Open in StackBlitz

@trigger.dev/build

npm i https://pkg.pr.new/@trigger.dev/build@8cab73f

trigger.dev

npm i https://pkg.pr.new/trigger.dev@8cab73f

@trigger.dev/core

npm i https://pkg.pr.new/@trigger.dev/core@8cab73f

@trigger.dev/python

npm i https://pkg.pr.new/@trigger.dev/python@8cab73f

@trigger.dev/react-hooks

npm i https://pkg.pr.new/@trigger.dev/react-hooks@8cab73f

@trigger.dev/redis-worker

npm i https://pkg.pr.new/@trigger.dev/redis-worker@8cab73f

@trigger.dev/rsc

npm i https://pkg.pr.new/@trigger.dev/rsc@8cab73f

@trigger.dev/schema-to-json

npm i https://pkg.pr.new/@trigger.dev/schema-to-json@8cab73f

@trigger.dev/sdk

npm i https://pkg.pr.new/@trigger.dev/sdk@8cab73f

commit: 8cab73f

@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

coderabbitai[bot]

This comment was marked as resolved.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

Open in Devin Review

Comment thread docs/apikeys.mdx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant