aws_sqs
source: auth.credentials_file
option does not work
#11082
Labels
aws_sqs
source: auth.credentials_file
option does not work
#11082
Community Note
Vector Version
Vector Configuration File
Consider the following Vector configuration file:
Expected Behavior
According to the documentation for the
auth.credentials_file
option:If there is a file in
/path/to/credentials
with this content:Then Vector should be able to pick it for authenticating with the AWS services.
Actual Behavior
The AWS SDK seems to not like to be passed a credentials file (maybe used to but not anymore?) from Vector:
The result is that the credentials file specified in
auth.credentials_file
is completely ignored and then this error appears:However, the corresponding environment variable for setting the credentials file DOES work correctly, but you have to NOT use
auth.credentials_file
in the Vector configuration itself.If the AWS SDK does not allow for a credentials file to be passed anymore, maybe is best to remove this option from Vector altogether to avoid frustration with users. Or maybe there is another way nowadays in the SDK to pass a credentials file?
The text was updated successfully, but these errors were encountered: