Skip to content

Redact API key from public client config output#94

Open
MyouzzZ wants to merge 1 commit into
Adamantine-guild:mainfrom
MyouzzZ:codex/redact-public-config-api-key
Open

Redact API key from public client config output#94
MyouzzZ wants to merge 1 commit into
Adamantine-guild:mainfrom
MyouzzZ:codex/redact-public-config-api-key

Conversation

@MyouzzZ

@MyouzzZ MyouzzZ commented Jun 25, 2026

Copy link
Copy Markdown

Closes #84

Summary

  • omit apiKey from the public GuildPassClient.getConfig() snapshot while keeping the real key private for SDK requests
  • add coverage proving non-sensitive config remains visible and authenticated requests still include the API key internally
  • document the safe config accessor behavior
  • fix existing validation blockers around duplicate RequestOptions exports and fetch mocking so the repository checks pass cleanly

Validation

  • npm run typecheck
  • npm run test:run (172 tests)
  • npm run build
  • npm run lint (passes with existing warnings)

@MyouzzZ MyouzzZ force-pushed the codex/redact-public-config-api-key branch from a283802 to 3468c5d Compare June 25, 2026 12:21
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.

Redact secrets from public client configuration output

1 participant