Allow Xbcloud to respect AWS_CONFIG_FILE and AWS_PROFILE env variable configured using AWS RolesAnywhere

User Story

Currently, xbcloud has two ways to access the S3: using the AWS secret/key (mentioned with xbcloud) or the IAM instance profile. Please allow xbcloud to respect the AWS_CONFIG_FILE and AWS_PROFILE environment variables, which set the config file path (".aws/config") and profile sections. This should also apply once the credential helper is configured to use/run multiple AWS RolesAnywhere configurations on the same server. More details can be found inside the affected CS ID.

Acceptance Criteria

Please allow xbcloud to respect the AWS_CONFIG_FILE and AWS_PROFILE environment variables, which set the config file path (".aws/config") and profile sections.

Description

None

Environment

None

AFFECTED CS IDs

CS0050072

Activity

Show:

Aaditya Dubey 
October 7, 2024 at 8:41 AM

Hi

Thank you for the report and feedback.

Details

Assignee

Reporter

Labels

Needs QA

Priority

Created October 4, 2024 at 1:51 PM
Updated October 7, 2024 at 8:41 AM