Skip to content

Commit

Permalink
Bumps version to 3.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-perkins committed Mar 8, 2018
1 parent a92a972 commit 70d36df
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'signing'

group 'com.bettercloud'
archivesBaseName = 'vault-java-driver'
version '3.0.0'
version '3.1.0'
ext.isReleaseVersion = !version.endsWith('SNAPSHOT')

compileJava {
Expand Down
11 changes: 10 additions & 1 deletion src/main/java/com/bettercloud/vault/api/Auth.java
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,10 @@ public AuthResponse loginByLDAP(final String username, final String password, fi
* @param identity Base64 encoded EC2 instance identity document.
* @param signature Base64 encoded SHA256 RSA signature of the instance identity document.
* @param nonce Client nonce used for authentication. If null, a new nonce will be generated by Vault
* @param awsAuthMount AWS auth mount
*
* @return The auth token, with additional response metadata
*
* @throws VaultException If any error occurs, or unexpected response received from Vault
*/
// TODO: Needs integration test coverage if possible
Expand Down Expand Up @@ -630,7 +633,10 @@ public AuthResponse loginByAwsEc2(final String role, final String identity, fina
* If a matching role is not found, login fails.
* @param pkcs7 PKCS7 signature of the identity document with all \n characters removed.
* @param nonce Client nonce used for authentication. If null, a new nonce will be generated by Vault
* @param awsAuthMount AWS auth mount
*
* @return The auth token, with additional response metadata
*
* @throws VaultException If any error occurs, or unexpected response received from Vault
*/
// TODO: Needs integration test coverage if possible
Expand Down Expand Up @@ -707,8 +713,11 @@ public AuthResponse loginByAwsEc2(final String role, final String pkcs7, final S
* probably use POST with an empty URI.
* @param iamRequestBody Base64-encoded body of the signed request. Most likely QWN0aW9uPUdldENhbGxlcklkZW50aXR5JlZlcnNpb249MjAxMS0wNi0xNQ== which is
* the base64 encoding of Action=GetCallerIdentity&Version=2011-06-15.
* @param iamRequestHeaders
* @param iamRequestHeaders Request headers
* @param awsAuthMount AWS auth mount
*
* @return The auth token, with additional response metadata
*
* @throws VaultException If any error occurs, or unexpected response received from Vault
*/
public AuthResponse loginByAwsIam(final String role, final String iamRequestUrl, final String iamRequestBody, final String iamRequestHeaders, final String awsAuthMount) throws VaultException {
Expand Down

0 comments on commit 70d36df

Please sign in to comment.