feat: wire GetSecret gRPC endpoint with audit logging (#25) #109
Reference in New Issue
Block a user
Delete Branch "feature/issue-25-get-secret-endpoint"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary\n\n- Wire GetSecret handler to audit service for access logging (AUDIT_ACTION_SECRET_ACCESS)\n- SHA-256 hash secret names in audit logs (never log raw names)\n- Add
audit_addrconfig field for audit service connection\n- Graceful fallback if audit service unavailable\n- 19 unit tests pass, clippy clean\n\n## Test plan\n\n- [x]cargo test -p secrets-service— 19 tests pass\n- [x]cargo clippy -p secrets-service --tests -- -D warnings— clean\n- [x] Tests cover: all validation paths, found/not-found, multiple secrets, works without audit client, hash determinism\n\n🤖 Generated with Claude Code