-
Notifications
You must be signed in to change notification settings - Fork 34
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
How to use "process _credentials"? #75
Comments
I tried to use the generic method of using a config file such as this
and then export AWS_PROFILE=logs This is what I get
As you can see, it did fail to load profile "logs". /usr/local/bin/get_credentials does work, it will return credentials and it works for other kind of implementations. I can also use aws cli with --profile logs and the cli does work as expected. Best regards Johan Ryberg |
SOLVED! It seems I had to export AWS_CONFIG_FILE=/absolute/path/to/config to make it work So, it's possible to use process _credentials / credential_process but it was not very easy. Can it be more accessible or is this the way to do it? |
The core plugins will soon have credential process support as well. fluent/fluent-bit-docs#573 |
@jryberg was it working for you ? I have been trying the same thing from a non AWS machine ( from on-premise ), but this seems not to be working. Even if I have tried configuring profile as well as exported the AWS credentials. |
Facing the same issue. Trying to connect from non AWS machine through the credentials process and no luck.
So any plans to support that? |
@atreyd @mbastawisy-careem credential process should work, I think you just can't use this go plugin in this repo, you just use the C version: https://docs.fluentbit.io/manual/pipeline/outputs/kinesis https://github.com/fluent/fluent-bit-docs/pull/573/files |
I got it working yesterday after setting this magical environment variable
Which seems to do the trick to favor the config file over the credentials file. But thanks @PettitWesley, for pointing out that there is a new kinesis plugin that is based on c. We will consider migrating to that if necessary . |
Hi,
Would it be possible to add support for process_credentials just as in aws-fluent-plugin-kinesis?
Ref: https://github.com/awslabs/aws-fluent-plugin-kinesis
The text was updated successfully, but these errors were encountered: