Class VaultKubernetesAuthenticator

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

public class VaultKubernetesAuthenticator extends Object
  • Field Details

    • currentAuthToken

      protected String currentAuthToken
  • Constructor Details

    • VaultKubernetesAuthenticator

      public VaultKubernetesAuthenticator(VaultKubernetes kubernetes, String mountPath)
  • Method Details

    • authenticate

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

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • isTokenTTLExpired

      public boolean isTokenTTLExpired()
    • getTTLExpiryOfCurrentToken

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