forked from rook/rook
Add client.NewS3Agent, which builds an rgw S3 agent for an object store from a set of credentials and the store's endpoint. The object tests build S3 clients from several credential sources (the store's dashboard admin user, an OBC's provisioned secret); this factors out the endpoint and agent construction they share. Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>