How to use @aws-sdk/shared-ini-file-loader - 1 common examples

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 7 months ago

Package Health Score

66 / 100
Full package analysis

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

Similar packages