Interface ReactiveSessionManager

All Superinterfaces:
VaultTokenSupplier
All Known Implementing Classes:
CachingVaultTokenSupplier, ReactiveLifecycleAwareSessionManager

public interface ReactiveSessionManager extends VaultTokenSupplier
Strategy interface that encapsulates the creation and management of Vault sessions based on VaultToken used by reactive components.

ReactiveSessionManager is used by ReactiveVaultTemplate to initiate a session. Implementing classes usually use VaultTokenSupplier to log into Vault and obtain tokens.

Since:
2.0
Author:
Mark Paluch
See Also:
  • Method Details

    • getSessionToken

      default Mono<VaultToken> getSessionToken()
      Obtain a session token.
      Returns:
      a session token.