{"action":"created","issue":{"url":"https://api.github.com/repos/minio/mc/issues/1111","labels_url":"https://api.github.com/repos/minio/mc/issues/1111/labels{/name}","comments_url":"https://api.github.com/repos/minio/mc/issues/1111/comments","events_url":"https://api.github.com/repos/minio/mc/issues/1111/events","html_url":"https://github.com/minio/mc/issues/1111","id":107327665,"number":1111,"title":"How to configure to communicate with S3 clones?","user":{"login":"akiradeveloper","id":785824,"avatar_url":"https://avatars.githubusercontent.com/u/785824?v=3","gravatar_id":"","url":"https://api.github.com/users/akiradeveloper","html_url":"https://github.com/akiradeveloper","followers_url":"https://api.github.com/users/akiradeveloper/followers","following_url":"https://api.github.com/users/akiradeveloper/following{/other_user}","gists_url":"https://api.github.com/users/akiradeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/akiradeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akiradeveloper/subscriptions","organizations_url":"https://api.github.com/users/akiradeveloper/orgs","repos_url":"https://api.github.com/users/akiradeveloper/repos","events_url":"https://api.github.com/users/akiradeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/akiradeveloper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-19T11:51:06Z","updated_at":"2015-09-21T04:13:11Z","closed_at":null,"body":"If I understand correctly your goal is to access filesystems and S3 storages transparently. Good tool. I want to use mc instead of s3cmd.\r\n\r\nI am considering If I could pass destination address, port number, the version of authentication scheme (v2 or v4), auth key, secret key and so on that's required to communicate with S3 clones like Riak CS.\r\n\r\nCan we write config file like s3cmd and set up for S3 clones?"},"comment":{"url":"https://api.github.com/repos/minio/mc/issues/comments/141872648","html_url":"https://github.com/minio/mc/issues/1111#issuecomment-141872648","issue_url":"https://api.github.com/repos/minio/mc/issues/1111","id":141872648,"user":{"login":"akiradeveloper","id":785824,"avatar_url":"https://avatars.githubusercontent.com/u/785824?v=3","gravatar_id":"","url":"https://api.github.com/users/akiradeveloper","html_url":"https://github.com/akiradeveloper","followers_url":"https://api.github.com/users/akiradeveloper/followers","following_url":"https://api.github.com/users/akiradeveloper/following{/other_user}","gists_url":"https://api.github.com/users/akiradeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/akiradeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akiradeveloper/subscriptions","organizations_url":"https://api.github.com/users/akiradeveloper/orgs","repos_url":"https://api.github.com/users/akiradeveloper/repos","events_url":"https://api.github.com/users/akiradeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/akiradeveloper/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T04:13:11Z","updated_at":"2015-09-21T04:13:11Z","body":"I understand your belief but still I want v2 signature. The biggest reason is to use mc for S3 storage software that I am implementing now (which only supports v2). I tried s3cmd and s4cmd but they weren't good enough.\r\n\r\nDo you think it is possible to support v2 signature by generalizing signing process? (like defining Singer like in AWS SDK http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/Signer.html). I think the code below is signing the request.\r\n\r\n```go\r\n// Do - start the request\r\nfunc (r *request) Do() (resp *http.Response, err error) {\r\n        if r.config.AccessKeyID != \"\" && r.config.SecretAccessKey != \"\" {\r\n                r.SignV4()\r\n        }\r\n```"}}