boto3使用示例
作者:互联网
import boto3 s3_client = boto3.client("s3",aws_access_key_id="VG30VFR7G2AZIMQKAS5E",aws_secret_access_key="sVDUFlTkE8yU3NK6eD0BI565OsrC2E119tFRkl29",use_ssl=False,endpoint_url="http://192.168.122.167:7480") buckets = s3_client.list_buckets() print(buckets)
标签:access,示例,s3,buckets,aws,boto3,client,使用 来源: https://www.cnblogs.com/navysummer/p/15942562.html