Class TokenAuthenticationFactory

java.lang.Object
com.atlassian.secrets.vault.auth.token.TokenAuthenticationFactory

public class TokenAuthenticationFactory extends Object
A factory class for creating TokenAuthentication objects. It reads the authentication token from the environment.
Since:
3.2
  • Field Details

  • Constructor Details

    • TokenAuthenticationFactory

      public TokenAuthenticationFactory()
  • Method Details

    • getAuthentication

      public org.springframework.vault.authentication.TokenAuthentication getAuthentication()