boto3 "logging" into the AWS SSO

0

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

已提問 2 年前檢視次數 3479 次
1 個回答
0
已接受的答案

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.

profile pictureAWS
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南