Closed sunmingtao closed 4 years ago
Nothing to do with the renaming of the file. A couple of old buckets, smt0002 and smt003 work fine. However, newer buckets, smt0004 and smt0005 don't work.
Regenerating the access key doesn't help
After I upgrade cli to version 2, the problem seems to be resolved.
aws s3 mb s3://smt0010
aws s3 cp icon.png s3://smt0010
aws s3 presign s3://smt0010/icon.png --expires-in=600
Rename a file in s3 bucket Use
aws s3 presign s3://smt0004/snake.png --expires-in=600
to generate url Hit the url in the brower and get error