Assume an AWS IAM Role from Kubernetes pod using OIDC

Ever wondered how an application running in a kubernetes pod, can access AWS resources like S3 bucket? Well this is not straight forward…