- rago-worker create-org --name / create-api-key --org (id or slug): create
an org + first key in one transaction, refuse taken slugs, print the key
once as API_KEY=... (logs go to stderr for these subcommands)
- Admin console Operations > API keys: list live keys (masked), create,
rotate and delete via the existing apiKeys/createApiKey/rotateApiKey/
destroyApiKey GraphQL operations; new values shown once with copy; the
console follows a rotation of its own key and blocks deleting the last key
- apiKeys no longer lists expired (rotated-out/destroyed) keys
- Tests: admin_cli unit tests + pg-tests suite for both subcommands;
admin4 asserts rotated/destroyed keys drop out of apiKeys
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>