endorama / devid

Securely manage your developer personas
Apache License 2.0
2 stars 0 forks source link

aws: don't configure AWS_PROFILE automatically #10

Closed endorama closed 4 months ago

endorama commented 4 months ago

The aws plugin currently always set AWS_PROFILE to the persona's name. This is not necessary, as having multiple personas allow to leverage the default profile for each without special AWS configurations.

Updates the plugin to accept an additional custom_profile_name configuration that specifies the custom profile name to use. When empty, AWS_PROFILE is not set. When set to $PERSONA, the value is replaced with current persona's name.

This is a breaking change.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 53.84%. Comparing base (b3a9eaf) to head (ee0abe9). Report is 43 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #10 +/- ## ========================================== + Coverage 51.70% 53.84% +2.14% ========================================== Files 30 35 +5 Lines 441 468 +27 ========================================== + Hits 228 252 +24 - Misses 187 189 +2 - Partials 26 27 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.