My EC2 instance has a role attached with S3 permissions. Right now I use my access key and secret access key to load to s3 but I want to rely on the role and get rid of the credentials. Can I do that? Or do I need to have credentials for the Go AWS SDK?
Right now we are using the NewStaticCredentials function to setup our configuration. End goal is to upload files to S3.