AWS S3 uploading hidden files by default

0 votes

I have created a bucket in AWS and a couple of IAM. The IAM by default are included in a group with read-only access. However, when I create my bucket I generated a policy to grant access to specific IAM to listput and get. Now I'm trying to run a simple command to put a file with one of these AWS IAM from my site:

aws s3api put-object --bucket <bucket name>  --key poc/test.txt  --body <windows path file>

The output is successful, means that the files are always loaded. However, when I take a look the bucket in AWS I have to click on show because all loadings are setting the bucket content as hidden.

enter image description here

The account that I'm using to verify the files uploaded in AWS has manager access in S3 and I'm going thru the web console. How should I load the files without the hidden mark?

thanks

Oct 4, 2018 in AWS by eatcodesleeprepeat
• 4,710 points
6,017 views

1 answer to this question.

0 votes

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the file upload is successful as you see the file in the console, are you looking any specific details?
 if Versioning is enabled, the console is designed to show the latest version of
particular file, unless you click on Show option. Similarly, when you call get-object API call, you will get the latest version of file. To be able to retrieve specific version, you must add --version-id parameter with desired version identifier

answered Oct 4, 2018 by Priyaj
• 58,020 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

AWS S3 CLI : error while trying to copy files locally using terminal

For the first error you should add ...READ MORE

answered Aug 3, 2018 in AWS by Archana
• 4,170 points
11,501 views
+6 votes
14 answers

Python AWS Boto3: How do i read files from S3 Bucket?

You can use the following code, import boto3 s3 ...READ MORE

answered Dec 7, 2018 in AWS by Nitesh
315,757 views
0 votes
2 answers

How to display just the name of files using aws s3 ls command?

aws s3 ls s3://<your_bucket_name>/ | awk '{print ...READ MORE

answered Mar 17, 2019 in AWS by anonymous
22,322 views
–1 vote
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 58,020 points
5,234 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

AWS Access Key error when uploading to S3

You can try getting creating a new ...READ MORE

answered Feb 6, 2019 in AWS by Priyaj
• 58,020 points
6,440 views
+1 vote
3 answers

Which is better ? AWS S3 bucket logs vs AWS cloudtrail

CloudTrail logs API calls accessed to your ...READ MORE

answered Aug 16, 2018 in AWS by Priyaj
• 58,020 points
7,435 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP