Give User Access To Only One S3 Bucket Only

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ส.ค. 2024
  • awswithatiq.com
    Sometimes we need to create a user who has access to only one bucket. In that situation, we need to create an IAM policy first. After that, we need to assign that policy to that user.
    AWS policy generator, where you can generate your IAM policy
    awspolicygen.s...
    *******
    Buy Domain: shareasale.com...
    Buy Hosting: partners.hostg...
    Canva for Online Image editor: partner.canva....
    Grammarly: shareasale.com...
    ******

ความคิดเห็น • 61

  • @sylviatran8668
    @sylviatran8668 3 ปีที่แล้ว

  • @kvsp4028
    @kvsp4028 3 ปีที่แล้ว

    you explained in simple manner and it is easy to understand....your way of speaking is good and i am expecting more videos from you....................

    • @AWSWithAtiq
      @AWSWithAtiq  3 ปีที่แล้ว

      Thank you so much 🙂 for your comment. Definitely I will add more video's in future. Checkout my blog as well for some other AWS tips awswithatiq.com

  • @alvarorivas2408
    @alvarorivas2408 4 ปีที่แล้ว +1

    Thank you Atiq! I appreciate your help!

  • @mahendra_chaudhari
    @mahendra_chaudhari ปีที่แล้ว +2

    very good i was use real environment ...

  • @anoopreddyakkepelli5140
    @anoopreddyakkepelli5140 ปีที่แล้ว +1

    Very good and Usefull video - This helped a lot

  • @mahendrach3206
    @mahendrach3206 4 ปีที่แล้ว +2

    If needs only read access instead of write access then where needs to change from JSON?

    • @AWSWithAtiq
      @AWSWithAtiq  4 ปีที่แล้ว

      Instead of selecting 'All actions', you need to select 'Get object' and 'List buckets' actions.

  • @arumals3995
    @arumals3995 ปีที่แล้ว +1

    Thank you very much

  • @AsokanKRtoonz
    @AsokanKRtoonz ปีที่แล้ว +1

    Thanks, It really helped

  • @joir2000
    @joir2000 2 ปีที่แล้ว

    Very useful video
    Thanks!

    • @AWSWithAtiq
      @AWSWithAtiq  2 ปีที่แล้ว +1

      Glad you think so!

  • @nickegranis
    @nickegranis 3 ปีที่แล้ว

    Very good, thank you!

  • @serarand
    @serarand 2 หลายเดือนก่อน

    it helped, thanks!!!

    • @AWSWithAtiq
      @AWSWithAtiq  2 หลายเดือนก่อน

      Glad to hear it!

  • @anilmirya8354
    @anilmirya8354 3 ปีที่แล้ว +1

    How can we give access for a specific ip address, like our mac address only have allow to do put operation, can u plz do a video on this, I couldn't find any video on this scenario in youtube

    • @AWSWithAtiq
      @AWSWithAtiq  3 ปีที่แล้ว +1

      Thanks Anil for your comment. I will create a new tutorial on this topic. By the way, you can follow my blog to get more tutorials on aws here awswithatiq.com

    • @anilmirya8354
      @anilmirya8354 3 ปีที่แล้ว

      @@AWSWithAtiq thank you

    • @anilmirya8354
      @anilmirya8354 3 ปีที่แล้ว

      @@AWSWithAtiq I'm waiting for your video sir.
      I found some blogs but those are not working.
      After giving system ip as deny then also it was able to updating the Bucket content

  • @Tawhid903
    @Tawhid903 3 ปีที่แล้ว

    Very good.......

    • @AWSWithAtiq
      @AWSWithAtiq  3 ปีที่แล้ว

      Thanks for your comment

  • @devendranabar6871
    @devendranabar6871 3 ปีที่แล้ว

    Ok thankyou, this is for IAM user, how to do if I want to give access to only one AWS account and restrict access for all?

    • @AWSWithAtiq
      @AWSWithAtiq  3 ปีที่แล้ว

      You can by creating a bucket policy for that specific account.

  • @ayazuptimeco2498
    @ayazuptimeco2498 3 ปีที่แล้ว

    Thanks. Good video. How do you allow a user to download folders in bucket?

    • @AWSWithAtiq
      @AWSWithAtiq  3 ปีที่แล้ว

      Good question! use s3browser.com/

  • @B.I.T.S
    @B.I.T.S 4 ปีที่แล้ว +1

    This code is giving me a "allow the s3:ListBuckets action" error. I can't list any buckets at all.

    • @AWSWithAtiq
      @AWSWithAtiq  4 ปีที่แล้ว

      Please assign IAM role to the ec2 instance

    • @B.I.T.S
      @B.I.T.S 4 ปีที่แล้ว +1

      @@AWSWithAtiq I am not using an ec2 instance but I did get the buckets to list. I had to use "s3:ListAllMyBuckets" and a "Resource": "arn:aws:s3:::*" which I don't want to do. This allows the IAM user to see all my buckets. I am trying to give the IAM user access to only see their own bucket name. Any suggestions?

    • @karikalanramakrishnan9286
      @karikalanramakrishnan9286 3 ปีที่แล้ว

      @@B.I.T.S Any update on how did you fix this pls?

  • @saeedzia5579
    @saeedzia5579 2 หลายเดือนก่อน

    Thank you boy

  • @the.abhisheksinha
    @the.abhisheksinha 2 ปีที่แล้ว

    Nice video

  • @jamnadeem1596
    @jamnadeem1596 3 ปีที่แล้ว

    Awesome, I love that

    • @AWSWithAtiq
      @AWSWithAtiq  3 ปีที่แล้ว

      Glad you liked it

    • @jamnadeem1596
      @jamnadeem1596 3 ปีที่แล้ว

      @@AWSWithAtiq you're welcome sir

  • @KhanKhan-df8gv
    @KhanKhan-df8gv 2 ปีที่แล้ว

    hi, I want to allow a IAM user to access only a folder in a S3 Bucket (for backup/restore my Wordpress website) can I do so? I am following these same steps but the user can't access the folder...

    • @AWSWithAtiq
      @AWSWithAtiq  2 ปีที่แล้ว +1

      Probably that is not possible at the moment when I am writing this. I suggest you to create a new bucket and give permission

    • @KhanKhan-df8gv
      @KhanKhan-df8gv 2 ปีที่แล้ว

      @@AWSWithAtiq Thank you for replying, I came across this article and video and it resolves my question. Policiy allowing a specific IAM user to see specific folders at the first level of the bucket and then to take action on objects in the desired folders and subfolders.

  • @vahidatamboli5305
    @vahidatamboli5305 3 ปีที่แล้ว

    How to 1aws account access to cress account s3 bucket.... Plz reply me
    How to do in aws.. Send the step

    • @AWSWithAtiq
      @AWSWithAtiq  3 ปีที่แล้ว

      Here I have shown, how you can give access to another account th-cam.com/video/eeRl5bjf9Bs/w-d-xo.html

  • @sylviatran8668
    @sylviatran8668 3 ปีที่แล้ว

    do you not also have to add a policy to the s3 bucket itself? w/ a bucket policy?

    • @AWSWithAtiq
      @AWSWithAtiq  3 ปีที่แล้ว

      No bucket policy required using this approach.

  • @SocialAnimal_
    @SocialAnimal_ 2 ปีที่แล้ว

    hi bro i have a bucket which has 3 folders. is this possible to show only one folder to a user? don't want to show all folders in bucket.

    • @AWSWithAtiq
      @AWSWithAtiq  2 ปีที่แล้ว

      That is not possible

    • @SocialAnimal_
      @SocialAnimal_ 2 ปีที่แล้ว

      @@AWSWithAtiq ohh ok bro thanks

  • @jayaprakashm589
    @jayaprakashm589 ปีที่แล้ว

    i am unable to rename object from this way. can you help me
    Error: Access denied
    policy:
    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Sid": "VisualEditor0",
    "Effect": "Allow",
    "Action": "s3:*",
    "Resource": [
    "arn:aws:s3:::test/*",
    "arn:aws:s3:::test"
    ]
    }
    ]
    }

    • @AWSWithAtiq
      @AWSWithAtiq  ปีที่แล้ว

      Use aws iam policy generator

    • @jayaprakashm589
      @jayaprakashm589 ปีที่แล้ว

      @@AWSWithAtiq same Error after using AWS Policy Generator

  • @snapverse
    @snapverse 3 ปีที่แล้ว

    Azure FTW!

    • @AWSWithAtiq
      @AWSWithAtiq  3 ปีที่แล้ว

      Didn't know about Azure

  • @fionaherzog4050
    @fionaherzog4050 3 ปีที่แล้ว

    how did you get the account ID

    • @fionaherzog4050
      @fionaherzog4050 3 ปีที่แล้ว

      like your account id once you sign in jack

    • @AWSWithAtiq
      @AWSWithAtiq  3 ปีที่แล้ว

      Go to IAM dashboard, and then you can see your account id