Skip to content

Show and mint organization API keys in the console - #1543

Merged
RhysSullivan merged 2 commits into
mainfrom
org-api-keys-ui
Aug 5, 2026
Merged

Show and mint organization API keys in the console#1543
RhysSullivan merged 2 commits into
mainfrom
org-api-keys-ui

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

Adds an admin-only Organization keys section to the API keys page on cloud: list, mint, and revoke over the existing /api/account/org-api-keys endpoints, with copy that states the distinction (a personal key acts as you on the product plane; an org key belongs to the org, has no member behind it, and reads the admin API tenant-wide).

  • Section is hidden for non-admins (fail-closed, same derivation as the Users nav) and not rendered on self-host, whose provider refuses org keys.
  • Create dialog remounts per open so the one-time key reveal and form state are destroyed on close.
  • Shared KeyTable / CreatedKeyReveal extracted from the personal-keys markup rather than duplicated.
  • New org:api-keys reactivity key so org-key mutations don't refetch personal keys, and org_api_key_* analytics events.

The WorkOS emulator has no org-key routes yet (known gap from #1467), so there is no browser e2e for the mint flow in this PR; the server behavior stays covered by the existing unit tests (org-api-key-mint, org-api-key-revoke).

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 5, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing bb85445 Commit Preview URL

Branch Preview URL
Aug 05 2026, 11:11 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 5, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud bb85445 Aug 05 2026, 11:13 PM

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@pkg-pr-new

pkg-pr-new Bot commented Aug 5, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1543

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1543

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1543

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1543

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1543

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1543

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1543

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1543

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1543

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1543

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1543

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1543

executor

npm i https://pkg.pr.new/executor@1543

commit: bb85445

@RhysSullivan
RhysSullivan marked this pull request as ready for review August 5, 2026 23:40
@RhysSullivan
RhysSullivan merged commit 4fae851 into main Aug 5, 2026
21 checks passed
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