feat: Go bootstrap CLI for Auth0 + OpenMeter/Konnect#33
Draft
eliteprox wants to merge 3 commits into
Draft
Conversation
Single cross-platform Go binary that provisions Auth0 (resource server, public + M2M clients, grants via go-auth0/v2) and OpenMeter/Konnect catalog (meters, features, default PPU plan via Kong sdk-konnect-go), then emits .env.livepeer and sdk-config.json for builder-sdk. Mirrors the TS admin pattern (port/adapter/factory) and uses the same config/meters.json and config/pricing.json definitions.
6764e7b to
b51431f
Compare
Removed deprecated environment variables from .env.example and updated README for clarity on CLI behavior. Simplified BootstrapConfig structure by eliminating unused fields related to signer and Kafka. Adjusted error messages for missing environment variables to enhance user experience. Updated tests to reflect changes in configuration handling.
…r Clearinghouse Changed the application name and API audience in the .env.example and related configuration files to reflect the new branding as "Livepeer Clearinghouse". Updated README and tests to ensure consistency with the new naming conventions. Minor formatting adjustments made for code clarity.
This was referenced Jun 17, 2026
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
clearinghouse-bootstrap) that provisions Auth0 (resource server, public + M2M clients, grants) and OpenMeter/Konnect catalog (meters, features, default PPU plan), then emits.env.livepeerandsdk-config.jsonfor builder-sdk.go-auth0/v2for Auth0 Management API andKong/sdk-konnect-gofor Konnect Metering & Billing — no generated local OpenAPI client.config/meters.jsonandconfig/pricing.jsondefinitions.What's included
cmd/clearinghouse-bootstrapinternal/admininternal/auth0internal/configinternal/meters/internal/pricinginternal/output.env.livepeerandsdk-config.jsonwritersOut of scope (documented in README)
Test plan
go vet ./...go test ./... -count=1— 12 tests across 5 packagesmake cross— builds for linux/darwin/windows on amd64/arm64.env.livepeerandsdk-config.jsonoutput