mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 18:26:02 +02:00
aws-s3-presign: add page (#9217)
This commit is contained in:
parent
8de8b5be3c
commit
ef8976e6ce
1 changed files with 16 additions and 0 deletions
16
pages/common/aws-s3-presign.md
Normal file
16
pages/common/aws-s3-presign.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# aws s3 presign
|
||||
|
||||
> Generate pre-signed URLs for Amazon S3 objects.
|
||||
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/presign.html>.
|
||||
|
||||
- Generate a pre-signed URL for a specific S3 object that is valid for one hour:
|
||||
|
||||
`aws s3 presign s3://{{bucket_name}}/{{path/to/file}}`
|
||||
|
||||
- Generate a pre-signed URL valid for a specific lifetime:
|
||||
|
||||
`aws s3 presign s3://{{bucket_name}}/{{path/to/file}} --expires-in {{duration_in_seconds}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`aws s3 presign help`
|
Loading…
Add table
Reference in a new issue