I have an EKS deployment with a service account with policy and role that enable access to S3.
This works well for root account in the container. The container can execute aws s3 cp ...
with no issue.
The problem is that another user cannot. It gets AccessDenied
from the S3 service, meaning it does not have the correct credentials.
So my question is: how to give rights to another user in the container (which is linux based) in this case?
(I don't think it's specific to Eks as service accounts are generic to kubernetes.)