refactor: rename Aidbox creds to AIDBOX_CLIENT_ID / AIDBOX_CLIENT_SECRET#9
Merged
Conversation
Match the engine's renamed env vars (interbox 1.4.0). The aidbox sender now
authenticates as env("AIDBOX_CLIENT_ID", "root") with env("AIDBOX_CLIENT_SECRET"),
so a scoped least-privilege Aidbox client can replace root. Renamed the compose
env keys and .env.example to match.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Matches the engine's renamed Aidbox credential env vars, shipped in interbox 1.4.0.
What
user: env("AIDBOX_CLIENT_ID", "root")withpassword: env("AIDBOX_CLIENT_SECRET")— so a scoped, least-privilege Aidbox client can replaceroot.AIDBOX_SECRET→AIDBOX_CLIENT_SECRET, + optionalAIDBOX_CLIENT_IDpassthrough) and.env.example.Why
env()gained an optional default in 1.4.0 (env(name, fallback)), soAIDBOX_CLIENT_IDdefaults torootwhen unset — back-compatible with existing single-client setups. Names now match Aidbox's ownBOX_ROOT_CLIENT_SECRET+ the OAuthclient_id/client_secretconvention.AIDBOX_SECRET→AIDBOX_CLIENT_SECRET. Deployments must update the env var. Pairs with interbox 1.4.0 (already released) and the forthcoming helm-chart update.Testing
bun run typecheckclean against the resolved SDK 1.4.0 (verifies the 2-argenv()).Runs on interbox engine 1.4.0.
🤖 Generated with Claude Code