Skip to content

aibridge: implement selective request decryption #1182

@dannykopping

Description

@dannykopping

RFC

Only certain domains should be decrypted, so that the proxy can be used at the workspace level without inadvertently intercepting requests it shouldn't.

Acceptance criteria:

  • List should be updatable without needing a new coder build + upgrade cycle
  • List of allowlisted domains defined for each supported aibridge.Provider
  • Must support multiple values
  • Must support regex
  • Must be configurable in normal coder/coder config values (i.e. CODER_AIBRIDGE_ANTHROPIC_PROXY_DOMAIN_ALLOWLIST=api.anthropic.com)
  • Must be hidden by default
  • Has tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions