I need to copy from a publicly accessible resource on an AWS S3 bucket to a private S3 bucket while knowing the private bucket configuration(such as secretkey, accesskey, etc) using nodeJS AWS SDK.
My thoughts are using http.get
or request
to get the content of the public object and then simply use regular S3.upload()
function, but maybe there is a more efficient way.
Thanks