Class AppRoleVaultAuth
- java.lang.Object
-
- io.helidon.integrations.vault.auths.approle.AppRoleVaultAuth
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AppRoleVaultAuth.Builder
Fluent API builder forAppRoleVaultAuth
.
-
Constructor Summary
Constructors Constructor Description AppRoleVaultAuth()
Deprecated.please usebuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<RestApi>
authenticate(Config config, Vault.Builder vaultBuilder)
static AppRoleVaultAuth.Builder
builder()
Create a new builder.
-
-
-
Constructor Detail
-
AppRoleVaultAuth
@Deprecated public AppRoleVaultAuth()
Deprecated.please usebuilder()
Constructor required for Java Service Loader.
-
-
Method Detail
-
builder
public static AppRoleVaultAuth.Builder builder()
Create a new builder.- Returns:
- new builder
-
authenticate
public Optional<RestApi> authenticate(Config config, Vault.Builder vaultBuilder)
Description copied from interface:VaultAuth
- Specified by:
authenticate
in interfaceVaultAuth
- Parameters:
config
- configuration (may be empty if not provided by user)vaultBuilder
- vault builder- Returns:
RestApi
in case this Vault authentication can authenticate
-
-