move S3 endpoint URL to attributes

Moved S3 endpoint URL to attributes for supporting S3-compatible API such as Cloudian.