AWS SDK - Python
Learn how to use the AWS SDK for Python with Filebase.
What is AWS SDK - Python?
List all Buckets
import boto3
s3 = boto3.client('s3',
endpoint_url='https://s3.filebase.com',
aws_access_key_id="filebase-access-key",
aws_secret_access_key="filebase-secret-key")
response = s3.list_buckets()
print('Existing buckets:')
for bucket in response['Buckets']:
print(f' {bucket["Name"]}')Create a Bucket
Upload an Object
Download an Object
Delete an Object
Last updated