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?
asked 3 months ago42 views
1 Answers
0
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
Relevant questions
InvalidClientTokenId exception while validating AccessKeyId
asked 3 years agoboto3 "logging" into the AWS SSO
Accepted Answerasked 3 months agoAWS SSO Access for Linux?
asked 3 months agoIs it possible to give AWS SSO users Lake Formation data access?
asked 5 months agoPassword/SSH based authentiaction for AWS CLI // authentication for AWS CLI without needing access keys
Accepted Answerasked 4 months agoAWS SSO. Changing default authorization form.
asked 24 days agoAWS SSO on Amazon Linux
asked 3 months agoHow do I sign into re:Post using AWS SSO?
Accepted Answerasked 6 months agoAWS SSO ForbiddenException
asked 16 days agoBoto3 sso-admin client not working ***SOLVED***
asked 2 years ago