boto-updater.py 243 B

12345678
  1. import boto3
  2. # Main
  3. s3 = boto3.resource('s3', use_ssl=False, endpoint_url="http://172.17.0.2:9000", aws_access_key_id="minio", aws_secret_access_key="miniokey")
  4. # Print out bucket names
  5. for bucket in s3.buckets.all():
  6. print(bucket.name)