This repository provides the example code for using an S3 service behind an OpenAPI Hub, e.g., HKSTP OpenAPI Hub.
The example code requires a valid OpenAPI authentication token, as well as valid AWS S3 credentials set in a shared credential file.
A general guide on the setup and format of the file is available here.
Below are the steps for Ubuntu 22.04:
- Install the AWS client
sudo apt install -y awscli
- Configure the credentials
Input the key ID, secret key, and storage region for the S3 storage service.
aws configure