Okta SSO Python

Hello,

I have a requirement where I need to read a file in S3 bucket from lambda function using python. This is simple and no issue on that. What I am trying to achieve is I need to do an authentication with Okta from Lambda Python function so that it provides SSO to connect to S3 (and may be other services e.g. athena too) and I don’t need to connect to S3/other AWS services separately. I need help and sample code on how to achieve that. Can anyone please help?