title: AWS CLI get download S3 URL for private bucket from AWS CLI
body: <p>I could upload a file to a <strong>private</strong> S3 bucket successfully using following command:</p>
  
  <p><code>aws s3 cp "myfile.txt" "s3://myfolder/myfile.txt" --region=us-east-1 --output=json</code></p>
  
  <p>I would like to issue a AWS CLI command to return me a temporary URL download for myfile.txt and does anyone know how to?</p>
  
  <p>I googled and look like I have to do some signing to get temporary URL such as: <a href="http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html" rel="noreferrer">http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html</a></p>