Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
5
Versions
137
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.168.0 to 3.170.0

8

CHANGELOG.md

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

# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
**Note:** Version bump only for package @aws-sdk/credential-provider-web-identity
# [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09)

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

12

dist-types/ts3.4/fromTokenFile.d.ts
import { CredentialProvider } from "@aws-sdk/types";
import { FromWebTokenInit } from "./fromWebToken";
export interface FromTokenFileInit extends Partial<Pick<FromWebTokenInit, Exclude<keyof FromWebTokenInit, "webIdentityToken">>> {
webIdentityTokenFile?: string;
export interface FromTokenFileInit
extends Partial<
Pick<FromWebTokenInit, Exclude<keyof FromWebTokenInit, "webIdentityToken">>
> {
webIdentityTokenFile?: string;
}
export declare const fromTokenFile: (init?: FromTokenFileInit) => CredentialProvider;
export declare const fromTokenFile: (
init?: FromTokenFileInit
) => CredentialProvider;
import { CredentialProvider, Credentials } from "@aws-sdk/types";
export interface AssumeRoleWithWebIdentityParams {
RoleArn: string;
RoleSessionName: string;
WebIdentityToken: string;
ProviderId?: string;
PolicyArns?: {
arn?: string;
}[];
Policy?: string;
DurationSeconds?: number;
RoleArn: string;
RoleSessionName: string;
WebIdentityToken: string;
ProviderId?: string;
PolicyArns?: {
arn?: string;
}[];
Policy?: string;
DurationSeconds?: number;
}
declare type LowerCaseKey<T> = {
[K in keyof T as `${Uncapitalize<string & K>}`]: T[K];
[K in keyof T as `${Uncapitalize<string & K>}`]: T[K];
};
export interface FromWebTokenInit extends Pick<LowerCaseKey<AssumeRoleWithWebIdentityParams>, Exclude<keyof LowerCaseKey<AssumeRoleWithWebIdentityParams>, "roleSessionName">> {
roleSessionName?: string;
roleAssumerWithWebIdentity?: (params: AssumeRoleWithWebIdentityParams) => Promise<Credentials>;
export interface FromWebTokenInit
extends Pick<
LowerCaseKey<AssumeRoleWithWebIdentityParams>,
Exclude<
keyof LowerCaseKey<AssumeRoleWithWebIdentityParams>,
"roleSessionName"
>
> {
roleSessionName?: string;
roleAssumerWithWebIdentity?: (
params: AssumeRoleWithWebIdentityParams
) => Promise<Credentials>;
}
export declare const fromWebToken: (init: FromWebTokenInit) => CredentialProvider;
export declare const fromWebToken: (
init: FromWebTokenInit
) => CredentialProvider;
export {};
export * from "./fromTokenFile";
export * from "./fromWebToken";
{
"name": "@aws-sdk/credential-provider-web-identity",
"version": "3.168.0",
"version": "3.170.0",
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",

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

"dependencies": {
"@aws-sdk/property-provider": "3.168.0",
"@aws-sdk/types": "3.168.0",
"@aws-sdk/property-provider": "3.170.0",
"@aws-sdk/types": "3.170.0",
"tslib": "^2.3.1"

@@ -44,3 +44,3 @@ },

"concurrently": "7.0.0",
"downlevel-dts": "0.7.0",
"downlevel-dts": "0.10.1",
"rimraf": "3.0.2",

@@ -47,0 +47,0 @@ "typedoc": "0.19.2",

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