---
title: "Discussion on \"How to use IAM user In AWS to access EC2 and S3 bucket via CLI\" | Hashnode"
description: "Discussion on \"How to use IAM user In AWS to access EC2 and S3 bucket via CLI\". How to use IAM user In AWS to access EC2 and S3 bucket via CLI"
url: "https://hashnode.com/posts/how-to-use-iam-user-in-aws-to-access-ec2-and-s3-bucket-via-cli/66ae3c6f107367788412dd0a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to use IAM user In AWS to access EC2 and S3 bucket via CLI](https://learwithme.hashnode.dev/how-to-use-iam-user-in-aws-to-access-ec2-and-s3-bucket-via-cli?utm_source=hashnode&utm_medium=feed)

How to use IAM user In AWS to access EC2 and S3 bucket via CLI

Aug 3, 2024 · 3 min read · learwithme.hashnode.dev  
Updated Aug 6, 2024  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#iam](https://hashnode.com/tag/iam)
-   [#policy](https://hashnode.com/tag/policy)
-   [#s3-cli](https://hashnode.com/tag/s3-cli)
-   [#s3-bucket](https://hashnode.com/tag/s3-bucket)
-   [#ec2](https://hashnode.com/tag/ec2)

## Written by

[ajay singh](https://hashnode.com/@ajay9211)

@ajay9211 · India,Delhi

  
[View profile](https://hashnode.com/@ajay9211)

DevOps Learner

Hi Folks, Your thoughts and suggestions are invaluable to me! Feel free to leave comments on my posts. Let's connect and grow together!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
