С утилитой aws-cli
aws s3api list-object-versions --bucket my_bucket \
--profile=my_profile --endpoint=https://s3.pilw.io