Repository navigation
feat(proxy): add Basic Auth access policy credentials - #42
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔍 Similar pull requestsThis pull request may overlap with existing work. Please take a look at these related items.
|
* feat(proxy): add reusable access policy foundation * fix(proxy): reject C1 controls in access policy metadata * feat(proxy): add Basic Auth access policy credentials (#42)
Summary
Add Basic Authentication accounts to reusable access policies. Operators can create, rename, rotate and remove up to 32 credentials per policy; configured authenticated policies enforce credentials before forwarding requests. Public hosts remain unchanged, while missing providers and combined/all policies remain closed until IP rules are implemented.
Passwords are stored as fixed-parameter Argon2id hashes. Credential APIs return metadata only, configuration previews redact hashes, and consumed Basic Auth headers are removed before forwarding. Rotation/removal use the existing reconciliation and last-known-good runtime behavior. Includes the account management UI, generated migration and concise documentation.
Related issue
Closes #30. Depends on #41; this PR is stacked on its feature branch until #28 is merged, then its base will move to main.
Type of change
Testing
bun run check: format, lint, TypeScript, Drizzle, 565 Web tests, 100 Rust tests and production builds.Checklist
Breaking changes
None. Existing version-7 snapshots retain their revision when Basic Auth is absent.
Screenshots
Account form interactions and permission-dependent actions are covered by automated UI tests.