I need AWS credentials and region set as environment variables within the Kubernetes POD/containers to access S3 buckets etc. via Apache Traffic Server S3 plugin which needs them in its config. They are now injected during the setup as static credentials created earlier in IAM. What I want to do is to take them (credentials/region) from EC2 metadata. That works partially because AWS credentials are valid only for certain amount of time: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html Do anyone know how can I make them static?