Skip to content

logagent to load credentials from EC2 role instead of aws_config.json #286

Open
@aliartiza75

Description

@aliartiza75

Hi @adnanrahic,

Scenario

I am using an EC2 instance and running a node application on it using pm2. I want to forward the logs to AWS Elasticsearch.

Problem

I have already read the documentation and found out that it uses a config file to load credentials but in my scenario, I cannot use a config file like this due to some security protocols.

Currently, I assign a role to the AWS EC2 instance and the application on the server uses those role credentials.

Possible Solution

A possible solution could be if we specify some precedence in the configuration like AWS does is doing.

Is there any other channel where I can discuss this issue?

Thank you in advance

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