@FunctionalInterface public static interface RedisCredentialsProvider.ImmediateRedisCredentialsProvider extends RedisCredentialsProvider
RedisCredentialsProvider that resolves credentials immediately without the need to defer the
credential resolution.RedisCredentialsProvider.ImmediateRedisCredentialsProvider| Modifier and Type | Method and Description |
|---|---|
default Mono<RedisCredentials> |
resolveCredentials()
Returns
RedisCredentials that can be used to authorize a Redis connection. |
RedisCredentials |
resolveCredentialsNow()
Returns
RedisCredentials that can be used to authorize a Redis connection. |
fromdefault Mono<RedisCredentials> resolveCredentials()
RedisCredentialsProviderRedisCredentials that can be used to authorize a Redis connection. Each implementation of
RedisCredentialsProvider can choose its own strategy for loading credentials. For example, an implementation
might load credentials from an existing key management system, or load new credentials when credentials are rotated. If
an error occurs during the loading of credentials or credentials could not be found, a runtime exception will be raised.resolveCredentials in interface RedisCredentialsProviderMono emitting RedisCredentials that can be used to authorize a Redis connection.RedisCredentials resolveCredentialsNow()
RedisCredentials that can be used to authorize a Redis connection. Each implementation of
RedisCredentialsProvider can choose its own strategy for loading credentials. For example, an implementation
might load credentials from an existing key management system, or load new credentials when credentials are rotated.
If an error occurs during the loading of credentials or credentials could not be found, a runtime exception will be
raised.RedisCredentials that can be used to authorize a Redis connection.Copyright © 2025 lettuce.io. All rights reserved.