Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/credential-provider-ini

Package Overview
Dependencies
Maintainers
7
Versions
362
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/credential-provider-ini - npm Package Compare versions

Comparing version 3.31.0 to 3.32.0

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
**Note:** Version bump only for package @aws-sdk/credential-provider-ini
# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)

@@ -8,0 +16,0 @@

16

dist/cjs/index.js

@@ -33,4 +33,4 @@ "use strict";

const fromIni = (init = {}) => async () => {
const profiles = await (0, util_credentials_1.parseKnownFiles)(init);
return resolveProfileData((0, util_credentials_1.getMasterProfileName)(init), profiles, init);
const profiles = await util_credentials_1.parseKnownFiles(init);
return resolveProfileData(util_credentials_1.getMasterProfileName(init), profiles, init);
};

@@ -55,3 +55,3 @@ exports.fromIni = fromIni;

throw new property_provider_1.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile` +
` ${(0, util_credentials_1.getMasterProfileName)(options)}. Profiles visited: ` +
` ${util_credentials_1.getMasterProfileName(options)}. Profiles visited: ` +
Object.keys(visitedProfiles).join(", "), false);

@@ -85,5 +85,5 @@ }

}
if ((0, credential_provider_sso_1.isSsoProfile)(data)) {
const { sso_start_url, sso_account_id, sso_region, sso_role_name } = (0, credential_provider_sso_1.validateSsoProfile)(data);
return (0, credential_provider_sso_1.fromSSO)({
if (credential_provider_sso_1.isSsoProfile(data)) {
const { sso_start_url, sso_account_id, sso_region, sso_role_name } = credential_provider_sso_1.validateSsoProfile(data);
return credential_provider_sso_1.fromSSO({
ssoStartUrl: sso_start_url,

@@ -128,3 +128,3 @@ ssoAccountId: sso_account_id,

});
const resolveWebIdentityCredentials = async (profile, options) => (0, credential_provider_web_identity_1.fromTokenFile)({
const resolveWebIdentityCredentials = async (profile, options) => credential_provider_web_identity_1.fromTokenFile({
webIdentityTokenFile: profile.web_identity_token_file,

@@ -135,2 +135,2 @@ roleArn: profile.role_arn,

})();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsOEVBQTJEO0FBQzNELGdGQUFnRztBQUNoRyw4RUFBNkY7QUFDN0YsZ0dBQTJHO0FBQzNHLGtFQUFzRTtBQUd0RSxnRUFBcUc7QUF1RXJHLE1BQU0sb0JBQW9CLEdBQUcsQ0FBQyxHQUFRLEVBQTZCLEVBQUUsQ0FDbkUsT0FBTyxDQUFDLEdBQUcsQ0FBQztJQUNaLE9BQU8sR0FBRyxLQUFLLFFBQVE7SUFDdkIsT0FBTyxHQUFHLENBQUMsaUJBQWlCLEtBQUssUUFBUTtJQUN6QyxPQUFPLEdBQUcsQ0FBQyxxQkFBcUIsS0FBSyxRQUFRO0lBQzdDLENBQUMsV0FBVyxFQUFFLFFBQVEsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxPQUFPLEdBQUcsQ0FBQyxpQkFBaUIsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDO0FBUXJFLE1BQU0sb0JBQW9CLEdBQUcsQ0FBQyxHQUFRLEVBQTZCLEVBQUUsQ0FDbkUsT0FBTyxDQUFDLEdBQUcsQ0FBQztJQUNaLE9BQU8sR0FBRyxLQUFLLFFBQVE7SUFDdkIsT0FBTyxHQUFHLENBQUMsdUJBQXVCLEtBQUssUUFBUTtJQUMvQyxPQUFPLEdBQUcsQ0FBQyxRQUFRLEtBQUssUUFBUTtJQUNoQyxDQUFDLFdBQVcsRUFBRSxRQUFRLENBQUMsQ0FBQy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wZWN0ZWQgRWNzQ29udGFpbmVyIG9yIEVjMkluc3RhbmNlTWV0YWRhdGEgb3IgRW52aXJvbm1lbnQuYFxuICAgICk7XG4gIH1cbn07XG5cbmNvbnN0IHJlc29sdmVTdGF0aWNDcmVkZW50aWFscyA9IChwcm9maWxlOiBTdGF0aWNDcmVkc1Byb2ZpbGUpOiBQcm9taXNlPENyZWRlbnRpYWxzPiA9PlxuICBQcm9taXNlLnJlc29sdmUoe1xuICAgIGFjY2Vzc0tleUlkOiBwcm9maWxlLmF3c19hY2Nlc3Nfa2V5X2lkLFxuICAgIHNlY3JldEFjY2Vzc0tleTogcHJvZmlsZS5hd3Nfc2VjcmV0X2FjY2Vzc19rZXksXG4gICAgc2Vzc2lvblRva2VuOiBwcm9maWxlLmF3c19zZXNzaW9uX3Rva2VuLFxuICB9KTtcblxuY29uc3QgcmVzb2x2ZVdlYklkZW50aXR5Q3JlZGVudGlhbHMgPSBhc3luYyAocHJvZmlsZTogV2ViSWRlbnRpdHlQcm9maWxlLCBvcHRpb25zOiBGcm9tSW5pSW5pdCk6IFByb21pc2U8Q3JlZGVudGlhbHM+ID0+XG4gIGZyb21Ub2tlbkZpbGUoe1xuICAgIHdlYklkZW50aXR5VG9rZW5GaWxlOiBwcm9maWxlLndlYl9pZGVudGl0eV90b2tlbl9maWxlLFxuICAgIHJvbGVBcm46IHByb2ZpbGUucm9sZV9hcm4sXG4gICAgcm9sZVNlc3Npb25OYW1lOiBwcm9maWxlLnJvbGVfc2Vzc2lvbl9uYW1lLFxuICAgIHJvbGVBc3N1bWVyV2l0aFdlYklkZW50aXR5OiBvcHRpb25zLnJvbGVBc3N1bWVyV2l0aFdlYklkZW50aXR5LFxuICB9KSgpO1xuIl19
{
"name": "@aws-sdk/credential-provider-ini",
"version": "3.31.0",
"version": "3.32.0",
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",

@@ -24,10 +24,10 @@ "main": "./dist/cjs/index.js",

"dependencies": {
"@aws-sdk/credential-provider-env": "3.29.0",
"@aws-sdk/credential-provider-imds": "3.29.0",
"@aws-sdk/credential-provider-sso": "3.31.0",
"@aws-sdk/credential-provider-web-identity": "3.29.0",
"@aws-sdk/property-provider": "3.29.0",
"@aws-sdk/shared-ini-file-loader": "3.29.0",
"@aws-sdk/types": "3.29.0",
"@aws-sdk/util-credentials": "3.29.0",
"@aws-sdk/credential-provider-env": "3.32.0",
"@aws-sdk/credential-provider-imds": "3.32.0",
"@aws-sdk/credential-provider-sso": "3.32.0",
"@aws-sdk/credential-provider-web-identity": "3.32.0",
"@aws-sdk/property-provider": "3.32.0",
"@aws-sdk/shared-ini-file-loader": "3.32.0",
"@aws-sdk/types": "3.32.0",
"@aws-sdk/util-credentials": "3.32.0",
"tslib": "^2.3.0"

@@ -39,3 +39,3 @@ },

"jest": "^26.1.0",
"typescript": "~4.4.2"
"typescript": "~4.3.5"
},

@@ -42,0 +42,0 @@ "types": "./dist/types/index.d.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc