The example shows how to upload a local onto an bucket using the Go SDK. It’s quite straight forward once you have your session setup and we’ve create an AddFileToS3 function which can be called multiple times when wanting to upload many files.
Within the PutObjectInput you an specify options when the file and in our example we show how you can enable AES256 encryption on your files (when at rest).



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here