@aws-sdk/credential-provider-ini 3.799.0 → 3.804.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.
|
@@ -38,8 +38,8 @@ export interface AssumeRoleParams {
|
|
|
38
38
|
* @internal
|
|
39
39
|
*/
|
|
40
40
|
export declare const isAssumeRoleProfile: (arg: any, { profile, logger }?: {
|
|
41
|
-
profile?: string
|
|
42
|
-
logger?: Logger
|
|
41
|
+
profile?: string;
|
|
42
|
+
logger?: Logger;
|
|
43
43
|
}) => boolean;
|
|
44
44
|
/**
|
|
45
45
|
* @internal
|
|
@@ -9,4 +9,4 @@ import { AwsCredentialIdentityProvider, Logger } from "@smithy/types";
|
|
|
9
9
|
* fromIni() provider. The source credential needs to be refreshed every time
|
|
10
10
|
* fromIni() is called.
|
|
11
11
|
*/
|
|
12
|
-
export declare const resolveCredentialSource: (credentialSource: string, profileName: string, logger?: Logger) => (options?: CredentialProviderOptions) => Promise<AwsCredentialIdentityProvider
|
|
12
|
+
export declare const resolveCredentialSource: (credentialSource: string, profileName: string, logger?: Logger) => ((options?: CredentialProviderOptions) => Promise<AwsCredentialIdentityProvider>);
|
|
@@ -3,4 +3,12 @@ import { FromIniInit } from "./fromIni";
|
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
|
-
export declare const resolveProfileData: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles?: Record<string, true>,
|
|
6
|
+
export declare const resolveProfileData: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles?: Record<string, true>,
|
|
7
|
+
/**
|
|
8
|
+
* This override comes from recursive calls only.
|
|
9
|
+
* It is used to flag a recursive profile section
|
|
10
|
+
* that does not have a role_arn, e.g. a credential_source
|
|
11
|
+
* with no role_arn, as part of a larger recursive assume-role
|
|
12
|
+
* call stack, and to re-enter the assume-role resolver function.
|
|
13
|
+
*/
|
|
14
|
+
isAssumeRoleRecursiveCall?: boolean) => Promise<AwsCredentialIdentity>;
|
|
@@ -14,8 +14,8 @@ export declare const isAssumeRoleProfile: (
|
|
|
14
14
|
profile,
|
|
15
15
|
logger,
|
|
16
16
|
}?: {
|
|
17
|
-
profile?: string
|
|
18
|
-
logger?: Logger
|
|
17
|
+
profile?: string;
|
|
18
|
+
logger?: Logger;
|
|
19
19
|
}
|
|
20
20
|
) => boolean;
|
|
21
21
|
export declare const resolveAssumeRoleCredentials: (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.804.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
31
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
36
|
-
"@aws-sdk/nested-clients": "3.
|
|
37
|
-
"@aws-sdk/types": "3.
|
|
30
|
+
"@aws-sdk/core": "3.804.0",
|
|
31
|
+
"@aws-sdk/credential-provider-env": "3.804.0",
|
|
32
|
+
"@aws-sdk/credential-provider-http": "3.804.0",
|
|
33
|
+
"@aws-sdk/credential-provider-process": "3.804.0",
|
|
34
|
+
"@aws-sdk/credential-provider-sso": "3.804.0",
|
|
35
|
+
"@aws-sdk/credential-provider-web-identity": "3.804.0",
|
|
36
|
+
"@aws-sdk/nested-clients": "3.804.0",
|
|
37
|
+
"@aws-sdk/types": "3.804.0",
|
|
38
38
|
"@smithy/credential-provider-imds": "^4.0.2",
|
|
39
39
|
"@smithy/property-provider": "^4.0.2",
|
|
40
40
|
"@smithy/shared-ini-file-loader": "^4.0.2",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"concurrently": "7.0.0",
|
|
48
48
|
"downlevel-dts": "0.10.1",
|
|
49
49
|
"rimraf": "3.0.2",
|
|
50
|
-
"typescript": "~5.
|
|
50
|
+
"typescript": "~5.8.3"
|
|
51
51
|
},
|
|
52
52
|
"types": "./dist-types/index.d.ts",
|
|
53
53
|
"engines": {
|