Skip to content

MaxParallelSecretResolutions configurable #755

Open

Description

First, tnx for adding the feature to load KeyVault keys in parallel!

A follow up question is, would it be possible to make the MaxParallelSecretResolutions configurable?

Activity

  1. linglingye001 commented on Aug 27, 2026

    @linglingye001
    Member

    Hi Kristof degrave (@kristofdegrave) thanks for the suggestion! For now, we’d prefer to keep MaxParallelSecretResolutions as an implementation detail unless there’s a concrete need to tune it. Is the current limit too low or too high for your scenario? If it’s causing issues, we can revisit exposing it as configuration.

  2. kristofdegrave commented on Aug 27, 2026

    @kristofdegrave
    Author

    Hi linglingye001,

    Thx for thr quick response. We are currently investigating IOExceptions where the connection was closed by the remote host. They seem to appear when we have a higher load.

    This is still in investigation. But it might becaused due to many concurrent request to the keyvault. We aren't hitting ratelimits on Azure, otherwise we would get 429, but maybe the firewall is having issue processing the load.

  3. linglingye001 commented on Aug 27, 2026

    @linglingye001
    Member

    Hi linglingye001,

    Thx for thr quick response. We are currently investigating IOExceptions where the connection was closed by the remote host. They seem to appear when we have a higher load.

    This is still in investigation. But it might becaused due to many concurrent request to the keyvault. We aren't hitting ratelimits on Azure, otherwise we would get 429, but maybe the firewall is having issue processing the load.

    Thanks for the additional context. The current implementation allows up to 16 concurrent secret resolutions per provider during configuration load or refresh.

    Could you share how many Key Vault references your application resolves? This will help us better understand the scenario. We’ll discuss making the parallel resolution limit configurable with the team and follow up here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions