Skip to content

CredentialsProvider API should be asynchronous #32021

@tsegismont

Description

@tsegismont

Description

A CredentialsProvider can be invoked several times over the application's lifetime, not just on startup.
Besides, it can be invoked by an event loop thread.

But it has a synchronous API:

Map<String, String> getCredentials(String credentialsProviderName);

Given the implementation may read data on disk or from an external system, the API should be asynchronous (and the implementation non blocking).

Implementation ideas

See #31873 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions