@aws-sdk/credential-provider-sso
Advanced tools
Comparing version 3.696.0 to 3.699.0
@@ -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 @@ }); |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36482
605
- Removed@aws-sdk/credential-provider-sso@3.699.0(transitive)
- Removed@aws-sdk/token-providers@3.696.0(transitive)