s3

s3#

S3 tools

Module Attributes

AWS_ACCESS_KEY_ID

Environment variable linked to AWS Access Key ID.

AWS_SECRET_ACCESS_KEY

Environment variable linked to AWS Secret Access Key.

AWS_S3_ENDPOINT

Environment variable linked to AWS endpoint.

USE_S3_STORAGE

Environment variable created to use Unistra's S3 bucket.

Functions

define_s3_client([endpoint_url, ...])

Define S3 client

s3_env(*args, **kwargs)

Create S3 compatible storage environment You need to set endpoint url if you use s3 compatible storage since GDAL/Rasterio does not read endpoint url from config file.

temp_s3([endpoint, profile_name, ...])

Initialize a temporary S3 environment as a context manager You need to set endpoint url if you use s3 compatible storage since GDAL/Rasterio does not read endpoint url from config file.