Replies: 1 comment 1 reply
-
There's another builtin that might be relevant here: https://www.openpolicyagent.org/docs/latest/policy-reference/#providers.aws. Its examples include fetching a json blob from S3: https://www.openpolicyagent.org/docs/latest/policy-reference/#basic-request-signing-example |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to fetch json data files stored in s3 using http.send . i'm trying a simple http get request using below code
httpResponse := http.send({ "method" : "GET", "url" : url })
with config.yaml having
I'm trying to access s3 using web identity credentials. i've created a role to access s3 which is attached to the EC2 where i'm running opa but it's giving access denied. can someone help me on how to send signed request instead of simple http call (how to fetch access key/secret key in opa to create a signed request)
Beta Was this translation helpful? Give feedback.
All reactions