Difference between revisions of "Aws s3 presign"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
<code>[[aws s3 presign]]</code> Generate a pre-signed [[URL]] for an [[Amazon S3]] object.
 +
* https://docs.aws.amazon.com/cli/latest/reference/s3/presign.html
  
<code>[[aws s3 presign]]</code> Generate a pre-signed [[URL]] for an [[Amazon S3]] object https://docs.aws.amazon.com/cli/latest/reference/s3/presign.html
+
== Examples ==
 
 
 
* <code>[[aws s3]] presign s3://awsexamplebucket/test2.txt --expires-in 604800</code>
 
* <code>[[aws s3]] presign s3://awsexamplebucket/test2.txt --expires-in 604800</code>
 +
Output:
 +
https://awsexamplebucket.s3.amazonaws.com/test2.txt?AWSAccessKeyId=AKIAEXAMPLEACCESSKEY&Signature=EXHCcBe%EXAMPLEKnz3r8O0AgEXAMPLE&Expires=1555531131
  
  

Latest revision as of 10:27, 22 September 2021

Advertising: