Package io.quarkus.vault.client.auth
Class VaultKubernetesTokenProvider
java.lang.Object
io.quarkus.vault.client.auth.VaultKubernetesTokenProvider
- All Implemented Interfaces:
VaultTokenProvider,Function<VaultAuthRequest,CompletionStage<VaultToken>>
-
Constructor Summary
ConstructorsConstructorDescriptionVaultKubernetesTokenProvider(String mountPath, String role, Supplier<CompletionStage<String>> jwtProvider) -
Method Summary
Modifier and TypeMethodDescriptionapply(VaultAuthRequest authRequest) static Supplier<CompletionStage<String>>jwtTokenPathReader(Path path) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.vault.client.auth.VaultTokenProvider
caching, invalidateCache
-
Constructor Details
-
VaultKubernetesTokenProvider
public VaultKubernetesTokenProvider(String mountPath, String role, Supplier<CompletionStage<String>> jwtProvider) -
VaultKubernetesTokenProvider
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<VaultAuthRequest,CompletionStage<VaultToken>>
-
jwtTokenPathReader
-