Skip to content

Instantly share code, notes, and snippets.

@xgenvn
Forked from heitorlessa/example_minio_boto3.py
Created December 25, 2018 03:41
Show Gist options
  • Save xgenvn/b569eec9546920917d2f4b01ba92aa11 to your computer and use it in GitHub Desktop.
Save xgenvn/b569eec9546920917d2f4b01ba92aa11 to your computer and use it in GitHub Desktop.
Minio with python boto3
# Sample as to how to initialize s3 client to work with Minio API compatible - https://github.com/minio/minio
# AWS CLI counterpart - https://docs.minio.io/docs/aws-cli-with-minio
import boto3
s3 = boto3.resource('s3',
endpoint_url='http://<minio_IP>:9000',
config=boto3.session.Config(signature_version='s3v4')
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment