mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-15 12:52:44 -06:00
ed76301eb6
This commit adds initial support for AWS's SigV4 request signing system, which will allow OPA's existing `http.send` builtin to be used to more conveniently query cloud resources. It automates away most of the pain around signing the request headers and body, and is designed to compose with `http.send` directly. Internally, this also refactors AWS SigV4 request signing, so that the signing logic is shared between the builtin and the REST plugin for AWS. Fixes: #3749 Signed-off-by: Philip Conrad <philipaconrad@gmail.com>