Class VaultAppRoleAuthenticator

java.lang.Object
com.datapipe.jenkins.vault.jcasc.secrets.VaultAppRoleAuthenticator
All Implemented Interfaces:
VaultAuthenticator

public class VaultAppRoleAuthenticator extends Object
  • Field Details

    • mountPath

      protected String mountPath
    • currentAuthToken

      protected String currentAuthToken
  • Constructor Details

    • VaultAppRoleAuthenticator

      public VaultAppRoleAuthenticator(VaultAppRole appRole, String mountPath)
  • Method Details

    • authenticate

      public void authenticate(com.bettercloud.vault.Vault vault, com.bettercloud.vault.VaultConfig config) throws com.bettercloud.vault.VaultException
      Throws:
      com.bettercloud.vault.VaultException
    • equals

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • isTokenTTLExpired

      public boolean isTokenTTLExpired()
    • getTTLExpiryOfCurrentToken

      public void getTTLExpiryOfCurrentToken(com.bettercloud.vault.Vault vault)