in lib/keyVaultConfigurationResolver.js [94:113]
function identifyKeyVaultValuePaths(node, prefix) {
prefix = prefix !== undefined ? prefix + '.' : '';
const paths = {};
for (const property in node) {
const value = node[property];
if (typeof value === 'object') {
Object.assign(paths, identifyKeyVaultValuePaths(value, prefix + property));
continue;
}
if (typeof value !== 'string') {
continue;
}
const keyVaultUrl = getUrlIfVault(value);
if (keyVaultUrl === undefined) {
continue;
}
paths[prefix + property] = keyVaultUrl;
}
return paths;
}