Questions tagged [aws-sdk-go-v2]

32 questions
0
votes
2 answers

Adding Presign URL Expiration for AWS s3 in aws-sdk-go-v2 for Go

There is a very fine example of using the aws-sdk-go-v2 to create pre-signed URLs. This works well but I'm stuck on setting the expiration time. I do see the PresignOptions struct has an Expires but I'm not certain how to do that. I also see…
tommy_o
  • 3,640
  • 3
  • 29
  • 33
-1
votes
1 answer

Connect to AWS without using static credentials

I am using aws-go sdk using static creds I am able to connect using config.WithCredentialsProvider(credentials.NewStaticCredentialsProvider(awsAccesstKey, awsSecretKey, "")), is there anyway using nodeIAM role, by which we can connect to AWS?
1 2
3