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,