---
title: "Discussion on \"AWS IAM - Roles between two AWS Accounts\" | Hashnode"
description: "Discussion on \"AWS IAM - Roles between two AWS Accounts\". Problem:\nYour company has two AWS accounts: DevAccount and ProdAccount. Developers in DevAccount need to access an S3 bucket in ProdAccount without using long-term credentials. How do you configure access securely?\nSolution:\n\nCreate an IAM Role in Pr..."
url: "https://hashnode.com/posts/aws-iam-roles-between-two-aws-accounts/6943d1764737b435d2118a83"
---

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

Discussion

# [AWS IAM - Roles between two AWS Accounts](https://caoluc.hashnode.dev/aws-iam-roles-between-two-aws-accounts?utm_source=hashnode&utm_medium=feed)

Problem: Your company has two AWS accounts: DevAccount and ProdAccount. Developers in DevAccount need to access an S3 bucket in ProdAccount without using long-term credentials. How do you configure access securely? Solution: Create an IAM Role in Pr...

Dec 18, 2025 · 3 min read · caoluc.hashnode.dev  
Read the article

## Written by

[Luc Cao](https://hashnode.com/@caolucl)

@caolucl

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

Technie

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
