Currently gocommon/storage hard codes static key/secret credentials. This change maintains that capability but also allows for consumer apps to use s3 without providing static key/secret. When no credentials are provided, the AWS Go SDK goes through its credential chain (see "specifying credentials" section here: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html) instead.
This allows the use of other ways of passing AWS creds to rapidpro go apps besides static key/secret.
Currently gocommon/storage hard codes static key/secret credentials. This change maintains that capability but also allows for consumer apps to use s3 without providing static key/secret. When no credentials are provided, the AWS Go SDK goes through its credential chain (see "specifying credentials" section here: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html) instead.
This allows the use of other ways of passing AWS creds to rapidpro go apps besides static key/secret.