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

@aws-sdk/credential-provider-web-identity

Package Overview
Dependencies
Maintainers
5
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/credential-provider-web-identity - npm Package Compare versions

Comparing version 3.709.0 to 3.713.0

11

dist-cjs/fromWebToken.js

@@ -27,3 +27,3 @@ "use strict";

exports.fromWebToken = void 0;
const fromWebToken = (init) => async () => {
const fromWebToken = (init) => async (awsIdentityProperties) => {
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");

@@ -37,3 +37,10 @@ const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;

credentialProviderLogger: init.logger,
parentClientConfig: init.parentClientConfig,
...(awsIdentityProperties?.callerClientConfig?.region || init.parentClientConfig
? {
parentClientConfig: {
region: awsIdentityProperties?.callerClientConfig?.region,
...init.parentClientConfig,
},
}
: {}),
}, init.clientPlugins);

@@ -40,0 +47,0 @@ }

@@ -1,2 +0,2 @@

export const fromWebToken = (init) => async () => {
export const fromWebToken = (init) => async (awsIdentityProperties) => {
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");

@@ -10,3 +10,10 @@ const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;

credentialProviderLogger: init.logger,
parentClientConfig: init.parentClientConfig,
...(awsIdentityProperties?.callerClientConfig?.region || init.parentClientConfig
? {
parentClientConfig: {
region: awsIdentityProperties?.callerClientConfig?.region,
...init.parentClientConfig,
},
}
: {}),
}, init.clientPlugins);

@@ -13,0 +20,0 @@ }

6

dist-types/fromWebToken.d.ts

@@ -1,3 +0,3 @@

import type { CredentialProviderOptions } from "@aws-sdk/types";
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, Pluggable } from "@smithy/types";
import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
import type { AwsCredentialIdentity, Pluggable } from "@smithy/types";
/**

@@ -144,3 +144,3 @@ * @public

*/
export declare const fromWebToken: (init: FromWebTokenInit) => AwsCredentialIdentityProvider;
export declare const fromWebToken: (init: FromWebTokenInit) => RuntimeConfigAwsCredentialIdentityProvider;
export {};

@@ -1,7 +0,6 @@

import { CredentialProviderOptions } from "@aws-sdk/types";
import {
AwsCredentialIdentity,
AwsCredentialIdentityProvider,
Pluggable,
} from "@smithy/types";
CredentialProviderOptions,
RuntimeConfigAwsCredentialIdentityProvider,
} from "@aws-sdk/types";
import { AwsCredentialIdentity, Pluggable } from "@smithy/types";
export interface AssumeRoleWithWebIdentityParams {

@@ -39,3 +38,3 @@ RoleArn: string;

init: FromWebTokenInit
) => AwsCredentialIdentityProvider;
) => RuntimeConfigAwsCredentialIdentityProvider;
export {};
{
"name": "@aws-sdk/credential-provider-web-identity",
"version": "3.709.0",
"version": "3.713.0",
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",

@@ -36,4 +36,4 @@ "main": "./dist-cjs/index.js",

"dependencies": {
"@aws-sdk/core": "3.709.0",
"@aws-sdk/types": "3.709.0",
"@aws-sdk/core": "3.713.0",
"@aws-sdk/types": "3.713.0",
"@smithy/property-provider": "^3.1.11",

@@ -52,3 +52,3 @@ "@smithy/types": "^3.7.2",

"peerDependencies": {
"@aws-sdk/client-sts": "^3.709.0"
"@aws-sdk/client-sts": "^3.713.0"
},

@@ -55,0 +55,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