Automatic posix mount point for Minio demo bucket

Requirements

Using STS-Wire CLI

Download the STS-Wire utility to get you credentials and mount your bucket in one go:

wget https://github.com/dciangot/sts-wire/releases/download/v0.0.2/sts-wire_linux

To use it, you need to provide an instance name (of your choice, it is just for storing IAM client configuration, e.g. myminio), the path to your bucket or to root /, and finally the mount point destination (in this example ./mountedVolume):

chmod +x ./sts-wire_linux
./sts-wire_linux  myminio <e.g. https://myserve.com:9000/> / ./mountedVolume

Follow all the instructions, providing a password for credentials encryption when requested. Eventually, if everything went fine, on your browser you will be prompted with a message like:

VOLUME MOUNTED, YOU CAN NOW CLOSE THIS TAB. 

The volume will stay mounted untill you exit the running sts-wire process with Control-C.