Skip to content

Question: Does Camel looks for IAM roles from Env variables #282

Closed
@saranyaeu2987

Description

@saranyaeu2987

This is a followup of #267.

@valdar @oscerd

We configured EKS k8s pod with serviceaccount with IAM role for S3 authentication (https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-technical-overview.html) which will create 2 ENV variables inside pod

AWS_ROLE_ARN=arn:aws:iam::AWS_ACCOUNT_ID:role/IAM_ROLE_NAME
AWS_WEB_IDENTITY_TOKEN_FILE=/var/run/secrets/eks.amazonaws.com/serviceaccount/token

When I try to run Camel Sink connector, I get Access Denied issue for S3

image

QUESTION: Does camel.component.aws-s3.useIAMCredentials: true looks for IAM role arn from those env variables in Pod?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions