@aws-sdk/credential-provider-web-identity
Advanced tools
Comparing version 3.168.0 to 3.170.0
@@ -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 @@ |
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", |
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
39233
286
+ Added@aws-sdk/property-provider@3.170.0(transitive)
+ Added@aws-sdk/types@3.170.0(transitive)
- Removed@aws-sdk/property-provider@3.168.0(transitive)
- Removed@aws-sdk/types@3.168.0(transitive)
Updated@aws-sdk/types@3.170.0