@aws-sdk/credential-providers 3.50.0 → 3.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-types/ts3.4/fromCognitoIdentity.d.ts +9 -0
- package/dist-types/ts3.4/fromCognitoIdentityPool.d.ts +7 -0
- package/dist-types/ts3.4/fromContainerMetadata.d.ts +6 -0
- package/dist-types/ts3.4/fromEnv.d.ts +3 -0
- package/dist-types/ts3.4/fromIni.d.ts +8 -0
- package/dist-types/ts3.4/fromInstanceMetadata.d.ts +4 -0
- package/dist-types/ts3.4/fromProcess.d.ts +6 -0
- package/dist-types/ts3.4/fromSSO.d.ts +8 -0
- package/dist-types/ts3.4/fromTemporaryCredentials.d.ts +12 -0
- package/dist-types/ts3.4/fromTokenFile.d.ts +8 -0
- package/dist-types/ts3.4/fromWebToken.d.ts +8 -0
- package/dist-types/ts3.4/index.d.ts +11 -0
- package/dist-types/ts3.4/index.web.d.ts +4 -0
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/credential-providers
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/credential-providers
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/credential-providers
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @aws-sdk/credential-providers
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CognitoIdentityClientConfig } from "@aws-sdk/client-cognito-identity";
|
|
2
|
+
import { CognitoIdentityCredentialProvider as _CognitoIdentityCredentialProvider, FromCognitoIdentityParameters as _FromCognitoIdentityParameters } from "@aws-sdk/credential-provider-cognito-identity";
|
|
3
|
+
export interface FromCognitoIdentityParameters extends Pick<_FromCognitoIdentityParameters, Exclude<keyof _FromCognitoIdentityParameters, "client">> {
|
|
4
|
+
|
|
5
|
+
clientConfig?: CognitoIdentityClientConfig;
|
|
6
|
+
}
|
|
7
|
+
export declare type CognitoIdentityCredentialProvider = _CognitoIdentityCredentialProvider;
|
|
8
|
+
|
|
9
|
+
export declare const fromCognitoIdentity: (options: FromCognitoIdentityParameters) => _CognitoIdentityCredentialProvider;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CognitoIdentityClientConfig } from "@aws-sdk/client-cognito-identity";
|
|
2
|
+
import { CognitoIdentityCredentialProvider, FromCognitoIdentityPoolParameters as _FromCognitoIdentityPoolParameters } from "@aws-sdk/credential-provider-cognito-identity";
|
|
3
|
+
export interface FromCognitoIdentityPoolParameters extends Pick<_FromCognitoIdentityPoolParameters, Exclude<keyof _FromCognitoIdentityPoolParameters, "client">> {
|
|
4
|
+
clientConfig?: CognitoIdentityClientConfig;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export declare const fromCognitoIdentityPool: (options: FromCognitoIdentityPoolParameters) => CognitoIdentityCredentialProvider;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RemoteProviderInit as _RemoteProviderInit } from "@aws-sdk/credential-provider-imds";
|
|
2
|
+
import { CredentialProvider } from "@aws-sdk/types";
|
|
3
|
+
export interface RemoteProviderInit extends _RemoteProviderInit {
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export declare const fromContainerMetadata: (init?: RemoteProviderInit | undefined) => CredentialProvider;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { STSClientConfig } from "@aws-sdk/client-sts";
|
|
2
|
+
import { FromIniInit as _FromIniInit } from "@aws-sdk/credential-provider-ini";
|
|
3
|
+
import { CredentialProvider } from "@aws-sdk/types";
|
|
4
|
+
export interface FromIniInit extends _FromIniInit {
|
|
5
|
+
clientConfig?: STSClientConfig;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export declare const fromIni: (init?: FromIniInit) => CredentialProvider;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FromProcessInit as _FromProcessInit } from "@aws-sdk/credential-provider-process";
|
|
2
|
+
import { CredentialProvider } from "@aws-sdk/types";
|
|
3
|
+
export interface FromProcessInit extends _FromProcessInit {
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export declare const fromProcess: (init?: FromProcessInit | undefined) => CredentialProvider;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SSOClientConfig } from "@aws-sdk/client-sso";
|
|
2
|
+
import { FromSSOInit as _FromSSOInit } from "@aws-sdk/credential-provider-sso";
|
|
3
|
+
import { CredentialProvider } from "@aws-sdk/types";
|
|
4
|
+
export interface FromSSOInit extends Pick<_FromSSOInit, Exclude<keyof _FromSSOInit, "client">> {
|
|
5
|
+
clientConfig?: SSOClientConfig;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export declare const fromSSO: (init?: FromSSOInit) => CredentialProvider;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AssumeRoleCommandInput, STSClientConfig } from "@aws-sdk/client-sts";
|
|
2
|
+
import { CredentialProvider, Credentials } from "@aws-sdk/types";
|
|
3
|
+
export interface FromTemporaryCredentialsOptions {
|
|
4
|
+
params: Pick<AssumeRoleCommandInput, Exclude<keyof AssumeRoleCommandInput, "RoleSessionName">> & {
|
|
5
|
+
RoleSessionName?: string;
|
|
6
|
+
};
|
|
7
|
+
masterCredentials?: Credentials | CredentialProvider;
|
|
8
|
+
clientConfig?: STSClientConfig;
|
|
9
|
+
mfaCodeProvider?: (mfaSerial: string) => Promise<string>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export declare const fromTemporaryCredentials: (options: FromTemporaryCredentialsOptions) => CredentialProvider;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { STSClientConfig } from "@aws-sdk/client-sts";
|
|
2
|
+
import { FromTokenFileInit as _FromTokenFileInit } from "@aws-sdk/credential-provider-web-identity";
|
|
3
|
+
import { CredentialProvider } from "@aws-sdk/types";
|
|
4
|
+
export interface FromTokenFileInit extends _FromTokenFileInit {
|
|
5
|
+
clientConfig?: STSClientConfig;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export declare const fromTokenFile: (init?: FromTokenFileInit) => CredentialProvider;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { STSClientConfig } from "@aws-sdk/client-sts";
|
|
2
|
+
import { FromWebTokenInit as _FromWebTokenInit } from "@aws-sdk/credential-provider-web-identity";
|
|
3
|
+
import { CredentialProvider } from "@aws-sdk/types";
|
|
4
|
+
export interface FromWebTokenInit extends _FromWebTokenInit {
|
|
5
|
+
clientConfig?: STSClientConfig;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export declare const fromWebToken: (init: FromWebTokenInit) => CredentialProvider;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./fromCognitoIdentity";
|
|
2
|
+
export * from "./fromCognitoIdentityPool";
|
|
3
|
+
export * from "./fromContainerMetadata";
|
|
4
|
+
export * from "./fromEnv";
|
|
5
|
+
export * from "./fromIni";
|
|
6
|
+
export * from "./fromInstanceMetadata";
|
|
7
|
+
export * from "./fromProcess";
|
|
8
|
+
export * from "./fromSSO";
|
|
9
|
+
export * from "./fromTemporaryCredentials";
|
|
10
|
+
export * from "./fromTokenFile";
|
|
11
|
+
export * from "./fromWebToken";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.53.0",
|
|
4
4
|
"description": "A collection of credential providers, without requiring service clients like STS, Cognito",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"build:es": "tsc -p tsconfig.es.json",
|
|
14
14
|
"build:types": "tsc -p tsconfig.types.json",
|
|
15
15
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
16
|
-
"clean": "rimraf ./dist-*",
|
|
16
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
17
17
|
"test": "jest"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
@@ -26,20 +26,20 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/client-cognito-identity": "3.
|
|
30
|
-
"@aws-sdk/client-sso": "3.
|
|
31
|
-
"@aws-sdk/client-sts": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-cognito-identity": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-imds": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
38
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
39
|
-
"@aws-sdk/property-provider": "3.
|
|
40
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/util-credentials": "3.
|
|
29
|
+
"@aws-sdk/client-cognito-identity": "3.53.0",
|
|
30
|
+
"@aws-sdk/client-sso": "3.53.0",
|
|
31
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
32
|
+
"@aws-sdk/credential-provider-cognito-identity": "3.53.0",
|
|
33
|
+
"@aws-sdk/credential-provider-env": "3.53.0",
|
|
34
|
+
"@aws-sdk/credential-provider-imds": "3.53.0",
|
|
35
|
+
"@aws-sdk/credential-provider-ini": "3.53.0",
|
|
36
|
+
"@aws-sdk/credential-provider-process": "3.53.0",
|
|
37
|
+
"@aws-sdk/credential-provider-sso": "3.53.0",
|
|
38
|
+
"@aws-sdk/credential-provider-web-identity": "3.53.0",
|
|
39
|
+
"@aws-sdk/property-provider": "3.53.0",
|
|
40
|
+
"@aws-sdk/shared-ini-file-loader": "3.52.0",
|
|
41
|
+
"@aws-sdk/types": "3.53.0",
|
|
42
|
+
"@aws-sdk/util-credentials": "3.53.0",
|
|
43
43
|
"tslib": "^2.3.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|