You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a perfect world, we should support all of these, in this order. Perhaps the perfect world is achievable and Usher just gets out of the way, but if not, we can at least, minimally, allow for 1, 2, and 4, in that order.
This means that, before we run lines 35-42 of the above quoted code, we should:
Check to see if the client is already configured with authentication values.
Check to see if the required environment variables are set, and
Only if the above two conditions are false, continue to our current logic.
The text was updated successfully, but these errors were encountered:
Description
The Database Download Trait uses the AsyncAWS library to do S3 database backup downloads.
According to the library, AsyncAWS respects environment variables set, for authentication.
But Usher does not allow for this and forces use of credentials stored in
$HOME/.aws/credentials
usher/src/Robo/Plugin/Traits/DatabaseDownloadTrait.php
Lines 35 to 42 in eed0a39
According to their documentation, the following sources, in order, should be consulted for credential configuration:
In a perfect world, we should support all of these, in this order. Perhaps the perfect world is achievable and Usher just gets out of the way, but if not, we can at least, minimally, allow for 1, 2, and 4, in that order.
This means that, before we run lines 35-42 of the above quoted code, we should:
The text was updated successfully, but these errors were encountered: