-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
making endpoint-url config respected #1048
Comments
Thanks for contacting us @ror6ax. I think this the Vault project will be better able to help with configuring the Vault tool to connect to a custom endpoint. Unless there is a way to pass the The best way to contact Vault is via their github repo, #vault-tool on Freenode, or their Google Groups. The shared configuration files ( sess := session.Must(session.NewSession())
s3Svc := s3.New(sess, aws.NewConfig().WithEndpoint("http://eucalyptrusurl"))
// Make s3 requests to custom endpoint |
I've contacted them as well for clarifications. I've modified AWS client file as follows:
Ok, go's dependency system got the better of me :)
or with another example payload
Apparently the replacement service sends not 1:1 response with AWS. Any tips on how do I debug these? |
Hello @ror6ax, you can enable logging to inspect the contents of the body. sts := sts.New(session.New((&aws.Config{
// Config params
}).WithLogLevel(aws.LogDebugWithHTTPBody | aws.LogDebug | aws.LogDebugWithSigning))) Please let us know if that helps. |
Following up from aws/aws-cli#1270
I'm looking to use Hashicorp Vault, which depends on aws-sdk-go with connection to Eucalyptus cloud(aws clone).
For cli, following works:
aws --endpoint-url http://eucalyptrusurl iam list-users
Problem is, Vault uses SDK and config endpoint URL parameter is not recognized.
I have two questions:
Sorry for noob question, I'm not a Go develper by any means, but have to get this fixed,,,
Thnx
The text was updated successfully, but these errors were encountered: