How to use the @aws-sdk/shared-ini-file-loader.loadSharedConfigFiles function in @aws-sdk/shared-ini-file-loader

To help you get started, we’ve selected a few @aws-sdk/shared-ini-file-loader examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aws / aws-sdk-js-v3 / packages / credential-provider-ini / src / index.ts View on Github external
export function parseKnownFiles(init: FromIniInit): Promise {
  const { loadedConfig = loadSharedConfigFiles(init) } = init;

  return loadedConfig.then(parsedFiles => {
    const { configFile, credentialsFile } = parsedFiles;
    return {
      ...configFile,
      ...credentialsFile
    };
  });
}

@aws-sdk/shared-ini-file-loader

[![NPM version](https://img.shields.io/npm/v/@aws-sdk/shared-ini-file-loader/latest.svg)](https://www.npmjs.com/package/@aws-sdk/shared-ini-file-loader) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/shared-ini-file-loader.svg)](https://www.npmj

Apache-2.0
Latest version published 1 year ago

Package Health Score

72 / 100
Full package analysis

Popular @aws-sdk/shared-ini-file-loader functions

Similar packages