Access AWS service using Python script and Boto3 by assuming role with Security Token Service (STS)

  Рет қаралды 4,714

Raaviblog

Raaviblog

Жыл бұрын

You can use AWS Security Token Service (STS) to assume an IAM role. Once the role is assumed, you get the permissions of that role. The credentials you get as part of assume role is temporary and you can set how long those credentials are valid.
You use the AWS SDK for Python (Boto3) to create, configure, and manage AWS services, such as Amazon Elastic Compute Cloud (Amazon EC2) and Amazon Simple Storage Service (Amazon S3). The SDK provides an object-oriented API as well as low-level access to AWS services.
reference: boto3.amazonaws.com/v1/docume...
Python script - gist.github.com/subudear/e45b...
Blog - raaviblog.com
Want to Support (via Paypal): raaviblog@gmail.com

Пікірлер: 7
@shibasisdas1589
@shibasisdas1589 4 ай бұрын
without access keys and secret access keys , is not not possible to access the s3 bucket ,using python boto3
@sandipram5022
@sandipram5022 9 ай бұрын
amazing. just font size needs to be adjust.
@rahulverma9957
@rahulverma9957 5 ай бұрын
Codes are not visible. Can you post the code somewhere?
@venkateshpolisetty8072
@venkateshpolisetty8072 6 ай бұрын
Hey. Nice Explaination. I have a question. I am the admin user in the aws account. I don't have any access key and secret key. I want to access s3 using temporary credentials. is it possible?
@pratikdas6807
@pratikdas6807 5 ай бұрын
No, this is NOT possible. You need secret access key and secret access key id to configure the profile. The sts client will then establish api call using the credentials of the profile. So, you need setup access key and secret key for sts client to work
@anantababa
@anantababa 9 ай бұрын
Can you share code ,it is not visible
How to assume a role with AWS Security Token Service (STS)
15:07
AWS Solution Architect | IAM Assume Role - Part 7
17:15
Rahul Wagh
Рет қаралды 2 М.
OMG🤪 #tiktok #shorts #potapova_blog
00:50
Potapova_blog
Рет қаралды 18 МЛН
ОСКАР ИСПОРТИЛ ДЖОНИ ЖИЗНЬ 😢 @lenta_com
01:01
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 35 МЛН
AWS IAM Core Concepts You NEED to Know
21:40
Be A Better Dev
Рет қаралды 194 М.
How to use Python with the AWS Boto3 SDK - Hands-On Introduction
16:16
Digital Cloud Training
Рет қаралды 6 М.
AWS SQS vs SNS vs EventBridge - When to Use What?
22:37
Be A Better Dev
Рет қаралды 167 М.
Simple way to remember Session, resource and client objects of boto3  for AWS Automation ?
12:13
07 AWS STS Temporary Credentials | DVA-C01  @Pythoholic  #AWS
10:18
OMG🤪 #tiktok #shorts #potapova_blog
00:50
Potapova_blog
Рет қаралды 18 МЛН