I want to have an ability to setup user policy using Minio java SDK.
Based on MINIO UI console I can achieve it by:
Is there way to achieve it using Minio Java Client API ?
Minio admin client have the methods that you are looking for.
You can achieve what you described with the following functions in the client.
addUser(..) addCannedPolicy(..) setPolicy(...)