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

Enhance openshift-logging vector to suppport AWS Credential File Authentication

    • 2
    • False
    • None
    • False
    • NEW
    • OBSDA-1117 - Support Multiple CloudWatch Outputs with unique STS Role Authentication
    • NEW
    • Release Note Not Required
    • Log Collection - Sprint 268, Log Collection - Sprint 269

      Summary

      Enhance the logging 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 fix to:  quay.io/cahartma/vector:v0.37.1-aws

       

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

                Created:
                Updated: