Closed DavidJFelix closed 6 years ago
Thanks for the PR! Don't have time to look at this right now but I think we should also keep supporting key/secret auth because some mostly-API-compatible alternatives like DigitalOcean Spaces don't support IAM
@goto-bus-stop Its should be noted: this will still utilize key/secret if you provide them.
The way this works is:
✅ If you provide key,secret only, it operates the same way. 🆕 If you provide key,secret,session (how a role using STS will provide credentials) it will now use the session token also 🆕 If you provide nothing, it will use environment variables
Oh, I see now! The process.env stuff was only removed from the serverless example. That makes sense. Thanks for the clarification :)