Hello, after change from version 3.5.0 to 3.5.3 i have problem to get properties from azure key-vault. (testing with version 3.5.0 everything is fine)

Configuration of Azure Key vault: SPRING_CLOUD_AZURE_KEYVAULT_SECRET_PROPERTY_SOURCES_0_CREDENTIAL_MANAGED_IDENTITY_ENABLED: true SPRING_CLOUD_AZURE_KEYVAULT_SECRET_PROPERTY_SOURCES_0_ENDPOINT: https://valid_address.vault.azure.net/

I inject properties as @Value.

After changing to 3.5.3 i can't see all variables in azure key vault.

Comment From: wilkinsona

Thanks for the report. Given the use of environment variables targeting a list, this may be the same underlying problem as https://github.com/spring-projects/spring-boot/issues/46184.

Comment From: klopfdreh

We heavily rely on this feature as well. Thanks for reporting @GKukulski

Comment From: wilkinsona

@GKukulski @klopfdreh, please try the latest 3.5.4-SNAPSHOT build available from https://repo.spring.io/snapshot. This has hopefully been fixed by https://github.com/spring-projects/spring-boot/commit/6fe696b5cfae75b5098d030ab757bc995e6df949.

Comment From: klopfdreh

He @wilkinsona - I am going to test the SNAPSHOT tomorrow - thanks a lot for all the work so far. 👍

Comment From: klopfdreh

Hey @wilkinsona - I did some tests with few of our applications:

Example 1:

  1. The Kubernetes Container gets the environment variable CSV_PROCESSOR_REPLACE_0_INPUT_RESOURCE_URI:

Image

  1. We use configuration properties / lists:

Image Image Image

  1. As you can see the environment variable is transfered to the properties as it is used during the execution of the application:

Image

Example 2:

  1. The Kubernetes Container gets two env vars REST_CALLER_REST_CALLS_0_BASE_URL REST_CALLER_REST_CALLS_0_PATH:

Image Image

  1. The configuration properties has a list of rest calls:

Image Image Image

  1. The environment variables are transfered to the properties as the web request is made successfully:

Image

To me this shows that the original behavior is back working as long as the IterableConfigurationPropertySource is also used for @Value annotations, but I guess so. 👍