Converting python AWS SAML script to Powershell

So the title says it all… Basically to get to aws, we need to out our proxy and use SAML with IAM roles to get to AWS. For script this is a challenge. We have a working python script that will create the access keys, but then just using native aws cli becomes challenging… I was hoping to wrap the CLI around powershell, or use aws native powershell (no glacier yet).

Here is the python script we are using… Modified for our environment.

I’m just looking for some ideas on where to get started.