Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-6789

Fix openshift-logging vector to support AWS Credential File Authentication

XMLWordPrintable

    • Log Collection - Sprint 268, Log Collection - Sprint 269, Log Collection - Sprint 270, Log Collection - Sprint 271

      Summary

      Fix the viaq version of vector to support using a credentials file for AWS Authentication

      Acceptance Criteria

      • Verify vector authenticates with AWS using the role ARN associated with an explicit profile defined in the credentials file
      • Verify the README notes (rh-main branch?) includes this difference from the upstream

      Notes

      This issue original was discovered by an error produced by the collector:

      When using auth.credentials_file in Vector configuration, the following error was encountered:

      Invalid Configuration: Missing Region
      

      Adding the region to the credentials file, config file, or ENV did not fix the issue.  Manually specifying the region in the Vector configuration was also ineffective.

      Solution: The aws-auth.rs file in Vector was modified to properly pass the region when using credentials from a file.

      https://github.com/cahartma/vector/tree/release-6.1-aws-region-for-credentials-path

      pushed poc fix to:  quay.io/cahartma/vector:v0.37.1-aws

       

              cahartma@redhat.com Casey Hartman
              cahartma@redhat.com Casey Hartman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: