Open Policy Agent (OPA)¶
S3-proxy integrate Open Policy Agent for authorization process after OpenID Connect or Header based logins.
Integration¶
This project integrate OPA with the REST API. You can see an example here. In the project configuration, you just have to put the link to the data endpoint with "allowed rego" path. Here is the example from the OPA website: http://localhost:8181/v1/data/example/authz/allow
Input data¶
The following section will present the input data that s3-proxy will send to the Open Policy Agent.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
Output Data¶
Here is an example of the expected output schema:
1 2 3 |
|