This is just a really quick/simple program to showcase the use of the AWS Go SDK.
It can be use to test your setup and validate your IAM Policies for a user trying to access an S3 bucket.
Usage
set an env variable S3_BUCKET=your-bucket-name and the AWS Credentials as usual.
using Assume Role
This method is the one to use when running the application in an EKS Kubernetes cluster where the ServiceAccount is linked to a IAM Role.