Class AppRoleAuthentication

java.lang.Object
org.springframework.vault.authentication.AppRoleAuthentication
All Implemented Interfaces:
AuthenticationStepsFactory, ClientAuthentication

public class AppRoleAuthentication extends Object implements ClientAuthentication, AuthenticationStepsFactory
AppRole implementation of ClientAuthentication. RoleId and SecretId (optional) are sent in the login request to Vault to obtain a VaultToken.

AppRoleAuthentication can be configured for push and pull mode by setting AppRoleAuthenticationOptions.getSecretId().

Author:
Mark Paluch, Vincent Le Nair, Christophe Tafani-Dereeper
See Also: