OpenSearch snapshot on EKS Pod Identity

Versions : OpenSearch 2.19.x / OpenSearch 3.x

Describe the issue: We are using OpenSearch on kubernetes environment. OpenSearch supports Snapshot on S3 buckets with AWS Identity and Access Management (IAM) roles for service accounts. With this the expectation is that AWS_WEB_IDENTITY_TOKEN_FILE env will be injected into the pod. This works fine.

We have a setup where AWS Pod Identity configured and this is injecting the env AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE instead of AWS_WEB_IDENTITY_TOKEN_FILE

Can you please let us know if OpenSearch S3 Snapshot is supported only on IRSA(IAM Role for Service Account) or does it support AWS Pod Identity also?

If its supported on AWS Pod Identity also, can you please shed some information on this.

Thanks in advance,

Configuration:

Relevant Logs or Screenshots: