argoyle fe0abd62c8
Release / release (push) Successful in 1m15s
authz_client / vulnerabilities (push) Successful in 2m9s
authz_client / test (push) Successful in 2m21s
pre-commit / pre-commit (push) Successful in 4m46s
feat(client): add API key authentication for /authz endpoint (#294)
## Summary

- Add `WithAPIKey(key string)` option to `PrivilegeHandler`
- When set, `Fetch()` sends `Authorization: Bearer <key>` header
- Backward compatible: no key = no header (existing behavior)

## Test plan

- [x] Unit test verifying Authorization header is sent
- [x] Unit test verifying no header without key
- [x] Existing tests still pass

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Reviewed-on: #294
2026-03-12 07:32:12 +00:00
2026-01-09 13:57:10 +00:00
2020-04-12 20:33:35 +02:00
2024-02-23 23:00:07 +01:00
S
Description
No description provided
Readme 836 KiB
v0.5.0 Latest
2026-03-12 07:41:08 +00:00
Languages
Go 100%