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

@aws-sdk/credential-provider-sso

Package Overview
Dependencies
Maintainers
5
Versions
323
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.696.0 to 3.699.0

4

dist-cjs/index.js

@@ -68,2 +68,3 @@ "use strict";

clientConfig,
parentClientConfig,
profile,

@@ -107,2 +108,3 @@ logger

Object.assign({}, clientConfig ?? {}, {
logger: (clientConfig == null ? void 0 : clientConfig.logger) ?? (parentClientConfig == null ? void 0 : parentClientConfig.logger),
region: (clientConfig == null ? void 0 : clientConfig.region) ?? ssoRegion

@@ -216,2 +218,3 @@ })

clientConfig: init.clientConfig,
parentClientConfig: init.parentClientConfig,
profile: profileName

@@ -233,2 +236,3 @@ });

clientConfig: init.clientConfig,
parentClientConfig: init.parentClientConfig,
profile: profileName

@@ -235,0 +239,0 @@ });

@@ -50,2 +50,3 @@ import { CredentialsProviderError } from "@smithy/property-provider";

clientConfig: init.clientConfig,
parentClientConfig: init.parentClientConfig,
profile: profileName,

@@ -67,2 +68,3 @@ });

clientConfig: init.clientConfig,
parentClientConfig: init.parentClientConfig,
profile: profileName,

@@ -69,0 +71,0 @@ });

3

dist-es/resolveSSOCredentials.js

@@ -6,3 +6,3 @@ import { setCredentialFeature } from "@aws-sdk/core/client";

const SHOULD_FAIL_CREDENTIAL_CHAIN = false;
export const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, profile, logger, }) => {
export const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, profile, logger, }) => {
let token;

@@ -46,2 +46,3 @@ const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;

new SSOClient(Object.assign({}, clientConfig ?? {}, {
logger: clientConfig?.logger ?? parentClientConfig?.logger,
region: clientConfig?.region ?? ssoRegion,

@@ -48,0 +49,0 @@ }));

@@ -6,2 +6,2 @@ import { AwsCredentialIdentity } from "@smithy/types";

*/
export declare const resolveSSOCredentials: ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, profile, logger, }: FromSSOInit & SsoCredentialsParameters) => Promise<AwsCredentialIdentity>;
export declare const resolveSSOCredentials: ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, profile, logger, }: FromSSOInit & SsoCredentialsParameters) => Promise<AwsCredentialIdentity>;

@@ -11,4 +11,5 @@ import { AwsCredentialIdentity } from "@smithy/types";

clientConfig,
parentClientConfig,
profile,
logger,
}: FromSSOInit & SsoCredentialsParameters) => Promise<AwsCredentialIdentity>;
{
"name": "@aws-sdk/credential-provider-sso",
"version": "3.696.0",
"version": "3.699.0",
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",

@@ -30,3 +30,3 @@ "main": "./dist-cjs/index.js",

"@aws-sdk/core": "3.696.0",
"@aws-sdk/token-providers": "3.696.0",
"@aws-sdk/token-providers": "3.699.0",
"@aws-sdk/types": "3.696.0",

@@ -33,0 +33,0 @@ "@smithy/property-provider": "^3.1.9",

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