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,670 points
291 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
• 56,900 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,090 points
1,541 views
+1 vote
11 answers

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

All of the answers are kind of ...READ MORE

answered Mar 30 in AWS by awsdbaexpert
• 200 points
48,301 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 in AWS by anonymous
4,088 views
0 votes
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
• 56,900 points
657 views
0 votes
2 answers
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 in AWS by Priyaj
• 56,900 points
1,454 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
• 56,900 points
2,114 views