Code review comment: No side effect, I think.

Code before review:
public void postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) {
putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.uri");
putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.tenant-id");
putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.client-id");
putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.client-secret");
putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.managed-identity");
putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.jca.certificates-refresh-interval");
putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.jca.refresh-certificates-when-have-un-trust-certificate");
putEnvironmentPropertyToSystemProperty(environment, "azure.cert-path.well-known");
putEnvironmentPropertyToSystemProperty(environment, "azure.cert-path.custom");
MutablePropertySources propertySources = environment.getPropertySources();
if (KeyVaultKeyStore.KEY_STORE_TYPE.equals(environment.getProperty("server.ssl.key-store-type"))) {
Properties properties = new Properties();
properties.put("server.ssl.key-store", "classpath:keyvault.dummy");
if (hasEmbedTomcat()) {
properties.put("server.ssl.key-store-type", "DKS");
}
propertySources.addFirst(new PropertiesPropertySource("KeyStorePropertySource", properties));
}
if (KeyVaultKeyStore.KEY_STORE_TYPE.equals(environment.getProperty("server.ssl.trust-store-type"))) {
Properties properties = new Properties();
properties.put("server.ssl.trust-store", "classpath:keyvault.dummy");
if (hasEmbedTomcat()) {
properties.put("server.ssl.trust-store-type", "DKS");
}
propertySources.addFirst(new PropertiesPropertySource("TrustStorePropertySource", properties));
}
Security.insertProviderAt(new KeyVaultJcaProvider(), 1);
if (overrideTrustManagerFactory(environment)) {
Security.insertProviderAt(new KeyVaultTrustManagerFactoryProvider(), 1);
}
if (disableHostnameVerification(environment)) {
HttpsURLConnection.setDefaultHostnameVerifier((hostname, session) -> true);
}
}

Line under review: putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.uri");

Code after addressing the review:
public void postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) {
putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.uri");
putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.tenant-id");
putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.client-id");
putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.client-secret");
putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.managed-identity");
putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.jca.certificates-refresh-interval");
putEnvironmentPropertyToSystemProperty(environment, "azure.keyvault.jca.refresh-certificates-when-have-un-trust-certificate");
putEnvironmentPropertyToSystemProperty(environment, "azure.cert-path.well-known");
putEnvironmentPropertyToSystemProperty(environment, "azure.cert-path.custom");
MutablePropertySources propertySources = environment.getPropertySources();
if (KeyVaultKeyStore.KEY_STORE_TYPE.equals(environment.getProperty("server.ssl.key-store-type"))) {
Properties properties = new Properties();
properties.put("server.ssl.key-store", "classpath:keyvault.dummy");
if (hasEmbedTomcat()) {
properties.put("server.ssl.key-store-type", "DKS");
}
propertySources.addFirst(new PropertiesPropertySource("KeyStorePropertySource", properties));
}
if (KeyVaultKeyStore.KEY_STORE_TYPE.equals(environment.getProperty("server.ssl.trust-store-type"))) {
Properties properties = new Properties();
properties.put("server.ssl.trust-store", "classpath:keyvault.dummy");
if (hasEmbedTomcat()) {
properties.put("server.ssl.trust-store-type", "DKS");
}
propertySources.addFirst(new PropertiesPropertySource("TrustStorePropertySource", properties));
}
Security.insertProviderAt(new KeyVaultJcaProvider(), 1);
if (overrideTrustManagerFactory(environment)) {
Security.insertProviderAt(new KeyVaultTrustManagerFactoryProvider(), 1);
}
if (disableHostnameVerification(environment)) {
HttpsURLConnection.setDefaultHostnameVerifier((hostname, session) -> true);
}
}