-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
logagent to load credentials from EC2 role instead of aws_config.json #286
Comments
This is a good place to discuss. Maybe you can submit a PR? |
@otisg yes sure. |
Hi @megastef, I need some help regarding the AWS elasticsearch output plugin implementation. After reading the codebase I found out that you have imported the aws-sdk but didn't use(maybe i am wrong) it. Will it be able to load credentials from the role attached to EC2 instance? |
Thanks, merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: