Note: This needs updating for Ocean V3.
To enable Provider to use files stored in Amazon S3 (i.e. files with an URL containing
s3://), you must:
- have an Amazon AWS user account (IAM account) with permission to read those files from S3, and
- set the AWS credentials on the machine where Provider is running to those of the AWS user in question. Instructions are given below.
- Note that you don’t have to set any Provider-specific configuration settings, e.g. in the
[osmosis]section of the Provider config file or in some special Provider environment variables.
Under the hood, Provider uses boto3 (the Python library for interacting with AWS) to interact with AWS and boto3 has a whole process for determining AWS credentials. The easiest way to set the AWS credentials on the machine where Provider is running is to install the AWS CLI and then use the
aws configure command.
For more details, see the boto3 user guide about credentials.