Note
Comprehensive documentation for Boto 3 can be found on Boto 3's official documentation site. Please use the official Boto 3 documentation as needed in conjunction with our specific guidelines for using Boto 3 with VAST Cluster.
Boto 3 is an SDK for python that enables you to interact with AWS services through python code, including the S3 service. Boto 3 offers two ways to interface with the S3 APIs:
You can use either interface to access the S3 APIs that VAST Cluster supports.
In both cases, when you create the client or resource, it creates a default session which manages configuration and state. The session can and will look for configurations in various places including several configuration files. However, configuration files do not allow you to specify an endpoint URL, so we will show you how to pass all configuration parameters, including the S3 endpoint, S3 user credentials, and other settings, in the client or resource creation call.
Install the SDK
Start by installing the Boto 3 SDK for python:
$ pip install boto3
Comments
0 comments
Article is closed for comments.