Interface RedisCredentialsProvider.ImmediateRedisCredentialsProvider

    • Method Detail

      • resolveCredentials

        default Mono<RedisCredentials> resolveCredentials()
        Description copied from interface: RedisCredentialsProvider
        Returns 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.
        Specified by:
        resolveCredentials in interface RedisCredentialsProvider
        Returns:
        a Mono emitting RedisCredentials that can be used to authorize a Redis connection.
      • resolveCredentialsNow

        RedisCredentials resolveCredentialsNow()
        Returns 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.
        Returns:
        the resolved RedisCredentials that can be used to authorize a Redis connection.