Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support aws-sdk-go #373

Closed
kentarosasaki opened this issue Jun 4, 2015 · 4 comments
Closed

Support aws-sdk-go #373

kentarosasaki opened this issue Jun 4, 2015 · 4 comments

Comments

@kentarosasaki
Copy link

Current aws-sdk-go only support v4 credentials. We could not use LeoFS via Golang application.
https://github.com/aws/aws-sdk-go/blob/ea83c25c44525da47e8044bbd21e4045758ea39b/service/s3/service.go#L32

Now we are using terraform.tfstate.
http://qiita.com/dtan4/items/04632f1c2f35388a3283

In order to use with leofs, we would fork Terraform. (e.g. change endpoint from s3.awsamazoncom to leofs endpoint.)
But terraform uses aws-sdk-go internally, and we should access via v4 authentication.
We can use leofs if we change alc to public-read-write. But it's not good for security.

If possible, please consider to support aws-sdk-go.

@yosukehara
Copy link
Member

Actually, we recognized this improvement and we posted a ticket - #283 .
But you can use other Go-lang clients, which are s3gof3r and goamz

@yosukehara
Copy link
Member

In addition, you can see an example of Go-lang client on our website:

@kentarosasaki
Copy link
Author

I know the other sdk could use.
But Terraform uses aws-sdk-go...

@mocchira
Copy link
Member

mocchira commented Aug 4, 2015

@kentarosasaki As you may know, we released 1.4.0-pre1 which includes AWS Signature V4 Support and aws-sdk-go works well ( https://github.com/leo-project/leofs_client_tests/blob/develop/aws-sdk-go/LeoFSTest.go ) so I' ll close this ticket.

Please file a new issue if you faced with some troubles when using terraform with LeoFS 1.4.0-pre1.

@mocchira mocchira closed this as completed Aug 4, 2015
@yosukehara yosukehara modified the milestones: 1.3.0, 1.4.0-pre1 Jun 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants