Relative Content

Tag Archive for amazon-web-servicesamazon-s3aws-cli

AWS S3 access through CLI issue

I already established a SSH connection, and did the AWS configuration. Now when I try to view the S3 buckets through the AWS CLI, the access denied error comes up. I had attached AmazonS3full access to the user through the root account. I have disabled the block ip address. I tried changing the region as well but still the error persists. So what do u suggest.

AWS s3api head-object returning wrong ContentType

I have a lot of buckets with a lot of objects, which are in .mp4 format. In the properties tab, under metadata, I’ve set the Content-Type to binary/octet-stream. However, whenever I want to check if ContentType is indeed binary/octet-stream, I call aws s3api head-object --bucket $bucket --key path/to/my/file.mp4 and I get that ContentType is video/mp4.