By using AWS re:Post, you agree to the Terms of Use
/boto3 "logging" into the AWS SSO/

boto3 "logging" into the AWS SSO


Hi, is it possible to "login" into the AWS SSO, so the "session access keys" would be created, using boto3?

1 Answers
Accepted Answer

Hey there,

Indeed you can access AWS accounts through AWS SSO by using Boto3. You're going to be looking for the SSO and SSO-OIDC API suites. You will still need to confirm CLI access via a browser, but you can make it so that the browser opens up with the validation code already input, and all the end-user needs to do is click a button on the screen. From here, you then just need to set the profile details as you see fit. I.e. Create a named profile, or set Environment variables.

answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions