Skip to content

Commit 70d36df

Browse files
committed
Bumps version to 3.1.0 release
1 parent a92a972 commit 70d36df

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'signing'
44

55
group 'com.bettercloud'
66
archivesBaseName = 'vault-java-driver'
7-
version '3.0.0'
7+
version '3.1.0'
88
ext.isReleaseVersion = !version.endsWith('SNAPSHOT')
99

1010
compileJava {

src/main/java/com/bettercloud/vault/api/Auth.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,10 @@ public AuthResponse loginByLDAP(final String username, final String password, fi
555555
* @param identity Base64 encoded EC2 instance identity document.
556556
* @param signature Base64 encoded SHA256 RSA signature of the instance identity document.
557557
* @param nonce Client nonce used for authentication. If null, a new nonce will be generated by Vault
558+
* @param awsAuthMount AWS auth mount
559+
*
558560
* @return The auth token, with additional response metadata
561+
*
559562
* @throws VaultException If any error occurs, or unexpected response received from Vault
560563
*/
561564
// TODO: Needs integration test coverage if possible
@@ -630,7 +633,10 @@ public AuthResponse loginByAwsEc2(final String role, final String identity, fina
630633
* If a matching role is not found, login fails.
631634
* @param pkcs7 PKCS7 signature of the identity document with all \n characters removed.
632635
* @param nonce Client nonce used for authentication. If null, a new nonce will be generated by Vault
636+
* @param awsAuthMount AWS auth mount
637+
*
633638
* @return The auth token, with additional response metadata
639+
*
634640
* @throws VaultException If any error occurs, or unexpected response received from Vault
635641
*/
636642
// TODO: Needs integration test coverage if possible
@@ -707,8 +713,11 @@ public AuthResponse loginByAwsEc2(final String role, final String pkcs7, final S
707713
* probably use POST with an empty URI.
708714
* @param iamRequestBody Base64-encoded body of the signed request. Most likely QWN0aW9uPUdldENhbGxlcklkZW50aXR5JlZlcnNpb249MjAxMS0wNi0xNQ== which is
709715
* the base64 encoding of Action=GetCallerIdentity&Version=2011-06-15.
710-
* @param iamRequestHeaders
716+
* @param iamRequestHeaders Request headers
717+
* @param awsAuthMount AWS auth mount
718+
*
711719
* @return The auth token, with additional response metadata
720+
*
712721
* @throws VaultException If any error occurs, or unexpected response received from Vault
713722
*/
714723
public AuthResponse loginByAwsIam(final String role, final String iamRequestUrl, final String iamRequestBody, final String iamRequestHeaders, final String awsAuthMount) throws VaultException {

0 commit comments

Comments
 (0)