single-sign-on

AWS Boto3 sts get_caller_identity – catching exceptions if credentials are invalid

AWS Boto3 sts get_caller_identity – catching exceptions if credentials are invalid Question: With a Python app, using Boto3 v1.26.59 (and botocore of same version) about the first thing done is to try to get the username of the user. We have Identity Center (SSO) users. With aged credentials (token), two exceptions are thrown and I …

Total answers: 1