Home > other >  How to use s3 cli enables an s3 file to open access and not expired within a week?
How to use s3 cli enables an s3 file to open access and not expired within a week?

Time:11-08

According to the document, I wrote the following procedures:
 
the import the OSOS. The system (" aws configure set access_key {} - profile {} '. The format (my_access_key profile_name))
OS. The system (" aws configure set secret_key {} - profile {} '. The format (my_secret_key profile_name))
OS. The system (" aws configure set signature_version s3v4 - profile {} '. The format (profile_name))
OS. The system (" aws s3 presign {} -- expires - in 604800 & gt; Public_url - profile {} ". The format (s3_path profile_name))

But the file link or failed after a few hours, I don't know is which step to write wrong,
  •  Tags:  
  • AWS
  • Related