Class TokenAuthenticationFactory
java.lang.Object
com.atlassian.secrets.vault.auth.token.TokenAuthenticationFactory
A factory class for creating TokenAuthentication objects. It reads the authentication token from the environment.
- Since:
- 3.2
-
Field Details
-
VAULT_TOKEN_ENV_KEY
- See Also:
-
VAULT_TOKEN_SYSTEM_PROP_KEY
- See Also:
-
-
Constructor Details
-
TokenAuthenticationFactory
public TokenAuthenticationFactory()
-
-
Method Details
-
getAuthentication
public org.springframework.vault.authentication.TokenAuthentication getAuthentication()
-