UNPKG

@aws/cloudfront-hosting-toolkit

Version:

CloudFront Hosting Toolkit offers the convenience of a managed frontend hosting service while retaining full control over the hosting and deployment infrastructure to make it your own.

8 lines (7 loc) 385 B
import { getProfileName, parseKnownFiles } from "@smithy/shared-ini-file-loader"; import { resolveProfileData } from "./resolveProfileData"; export const fromIni = (init = {}) => async () => { init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni"); const profiles = await parseKnownFiles(init); return resolveProfileData(getProfileName(init), profiles, init); };