This is an example of setting up a Minio server with the Security Token Service (STS) and AssumeRole for temporary session tokens.
You must create a new Minio user to use STS, the default Minio access/secret won't work. The new user must have access to the objects you will be creating sessions for, the permissions of the created session are the intersection of the permissions of the STS user and the inline permissions requested when the session is created
Tested on 2020-04-06
with the current version of Minio.
This is probably RELEASE.2020-04-04T05-39-31Z
, though if using Homebrew on Mac OSX minio --version
outputs DEVELOPMENT.GOGET
so who knows.