aws / amazon-cloudwatch-agent

CloudWatch Agent enables you to collect and export host-level metrics and logs on instances running Linux or Windows server.
MIT License
430 stars 193 forks source link

Support Credentials from IAM Roles Anywhere #1241

Open garciap2g opened 1 month ago

garciap2g commented 1 month ago

Is your feature request related to a problem? Please describe. When I using credentials from IAM Roles Anywhere, I'm unable to use Cloudwatch Agent, since in OnPrem mode it looks for hard-coded Access Keys in the .aws config files

Describe the solution you'd like I'd like to use the standard IAM Roles Anywhere service, or the credential_process.

Additional context I've persued the "RUN_WITH_IRSA" config mode, but this is very poorly documented and also doesn't seem to solve the issue.

chadpatel commented 1 month ago

Thanks, created a ticket on our internal ticket tracker.

Can you share logs or any artifacts showing it not working as you expect so we can reproduce and triage

nir-zilberman commented 4 weeks ago

A similar request was also mentioned here: https://github.com/aws/amazon-cloudwatch-agent/issues/140#issuecomment-2140446258