Skip to content

Commit fa1e977

Browse files
committed
Bugfix in Auth.lookupSelf()
1 parent 90b5d0f commit fa1e977

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/bettercloud/vault/api

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ public LookupResponse lookupSelf() throws VaultException {
679679
.readTimeoutSeconds(config.getReadTimeout())
680680
.sslPemUTF8(config.getSslPemUTF8())
681681
.sslVerification(config.isSslVerify())
682-
.post();
682+
.get();
683683
// Validate restResponse
684684
if (restResponse.getStatus() != 200) {
685685
throw new VaultException("Vault responded with HTTP status code: " + restResponse.getStatus(), restResponse.getStatus());

0 commit comments

Comments
 (0)