Skip to content

Commit

Permalink
Correct error message when failing to unwrap AppRole.
Browse files Browse the repository at this point in the history
Closes gh-906

Signed-off-by: Max Brauer <[email protected]>
  • Loading branch information
mamachanko authored and mp911de committed Mar 3, 2025
1 parent 3c6563d commit 874b517
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ private String getSecretId(SecretId secretId) throws VaultLoginException {
return (String) response.getRequiredData().get("secret_id");
}
catch (HttpStatusCodeException e) {
throw new VaultLoginException("Cannot unwrap Role id using AppRole: %s"
throw new VaultLoginException("Cannot unwrap Secret id using AppRole: %s"
.formatted(VaultResponses.getError(e.getResponseBodyAsString())), e);
}
}
Expand Down

0 comments on commit 874b517

Please sign in to comment.