**Using OPA is optional with MinIO. We recommend using [`policy` JWT claims](https://github.com/minio/minio/blob/master/docs/sts/wso2.md#4-jwt-claims) instead, let MinIO manage your policies using `mc admin policy` and apply them on the STS credentials.** # OPA Quickstart Guide [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) OPA is a lightweight general-purpose policy engine that can be co-located with MinIO server, in this document we talk about how to use OPA HTTP API to authorize MinIO STS credentials. ## Get started ### 1. Prerequisites - Docker 18.03 or above, refer here for [installation](https://docs.docker.com/install/). - Docker compose 1.20 or above, refere here for [installation](https://docs.docker.com/compose/install/#prerequisites). ### 2. Start OPA First, create a `docker-compose.yml` file that runs OPA and the demo web server. ``` cat >docker-compose.yml < putobject.rego <