Cross account IAM. How to use IAM role from another AWS account. Hands-On Tutorials for Amazon Web Services (AWS).
IAM roles are a powerful tool for managing access to AWS resources,
but they can be tricky to set up and use. Today I will show you how lambda function can use a role from another AWS account.
In one AWS account, you can create a lambda function and assign a role as usual. However, you can create a new IAM role in a completely different AWS account and let the lambda function use it. You can control another AWS account using the Lambda function.
In the video I will use python 3.10 and boto3.
TIMESTAMPS
---------------------------------------------------
0:00 Introduction & Theory
2:11 Account A - IAM role
3:20 Account B - IAM role
4:50 Account A - Lambda Function
7:46 Account A - Test
You can find more tips on my YouTube channel and on my blog https://lepczynski.it/en.
Don't miss the next video:
🔔 SUBSCRIBE: / @wojciechlepczynski
FOLLOW ME :
---------------------------------------------------
📓 Blog: https://lepczynski.it/en
🚀 Facebook: / lepczynski.it
⭐️ Twitter: / wlepczynski
👉 If you are interested in sending a product for review or discussing other forms of cooperation, please visit the “Work with Me” section on my blog for more details https://lepczynski.it/en/work-with-me/
#aws #lambda #iam #demo #tutorial
🎵 Do you want to make videos on YouTube? I know a great place where you can download music for free after creating a free account. Referral link:
https://uppbeat.io/?referral=wojciech...
Music from #Uppbeat (free for Creators!):
https://uppbeat.io/t/danger-lion-x/th...
License code: DE0L7ADEZNHZJJOU