Skip to content

AWS Profile Selection via Environment Variable #4

@thisguymartin

Description

@thisguymartin

Description:

Issue:
Currently, our AWS implementation only considers the default AWS profile when interacting with AWS services, and there's no way to specify a different AWS profile easily. This limitation restricts our ability to work with multiple AWS profiles, which is a common requirement in many scenarios.

Expected Behavior:
The expected behavior should be that our AWS implementation allows users to specify an AWS profile using an environment variable when making requests to AWS services. This would provide more flexibility and enable us to work with different AWS accounts and configurations seamlessly.

Steps to Reproduce:

  1. Set up multiple AWS profiles in your AWS configuration.
  2. Use our AWS implementation and specify the desired AWS profile using an environment variable, e.g., AWS_PROFILE=PERSONAL python main.py.
  3. Notice that it uses the specified AWS profile for the interaction with AWS services.

Possible Solution:
To resolve this issue, we need to enhance our AWS implementation to support the specification of an AWS profile via an environment variable like AWS_PROFILE. Users should have the option to choose which AWS profile to use, allowing for greater customization and flexibility.

Additional Information:

  • This enhancement will make it more convenient for users to work with multiple AWS profiles.
  • It aligns with AWS best practices for profile selection and simplifies the process for users managing multiple AWS accounts.

Environment:

  • Operating System:
  • AWS SDK/Library Version:
  • Application Version:

Please feel free to add any additional information or suggestions related to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions