Created
August 30, 2016 14:18
-
-
Save heitorlessa/5b709df96ea6ac5ddc600545c0683d3b to your computer and use it in GitHub Desktop.
Minio with python boto3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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') | |
) |
I know this gist is old, but is there any way to use ./aws/credentials (including token) to be authenticated in minio?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you don't need to set
verify=False
unless you didn't setup TLS for minio