BetterCloud / vault-java-driver

Zero-dependency Java client for HashiCorp's Vault
https://bettercloud.github.io/vault-java-driver/
336 stars 223 forks source link

Add support for AWS auth backend #89

Open thinkharderdev opened 6 years ago

thinkharderdev commented 6 years ago

Can you add support for the AWS Auth backend? My thought was another method on com.bettercloud.vault.api.Auth:

public AuthResponse loginByAwsIam(final String role, final String iamHttpRequestMethod, final String iamRquestUrl, final String iamRequestBody, final String iamRequestHeaders)

and

public AuthResponse loginByAwsEc2(final String role, final String pkcs7, final String nonce)

I'd be happy to submit a pull request if you'd consider it.

thinkharderdev commented 6 years ago

Added a PR for potential implementation: https://github.com/BetterCloud/vault-java-driver/pull/90

steve-perkins commented 6 years ago

Merged, although the test suite is disabled because it has some issues. Assuming that can get figured out, this will go out with the next release.

SudBisht commented 6 years ago

any potential date of releasing this feature.