@@ -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