@aws-sdk/credential-provider-ini 3.972.62 → 3.973.1
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/dist-cjs/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
const { CredentialsProviderError, chain, getProfileName, parseKnownFiles } = require("@smithy/core/config");
|
|
2
2
|
const { setCredentialFeature } = require("@aws-sdk/core/client");
|
|
3
|
-
const { fromLoginCredentials } = require("@aws-sdk/credential-provider-login");
|
|
4
3
|
|
|
5
4
|
const resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
6
5
|
const sourceProvidersMap = {
|
|
@@ -112,6 +111,7 @@ const isLoginProfile = (data) => {
|
|
|
112
111
|
return Boolean(data && data.login_session);
|
|
113
112
|
};
|
|
114
113
|
const resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
|
|
114
|
+
const { fromLoginCredentials } = require('@aws-sdk/credential-provider-login');
|
|
115
115
|
const credentials = await fromLoginCredentials({
|
|
116
116
|
...options,
|
|
117
117
|
profile: profileName,
|
package/dist-es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { fromIni } from "./fromIni";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { setCredentialFeature } from "@aws-sdk/core/client";
|
|
2
|
-
import { fromLoginCredentials } from "@aws-sdk/credential-provider-login";
|
|
3
2
|
export const isLoginProfile = (data) => {
|
|
4
3
|
return Boolean(data && data.login_session);
|
|
5
4
|
};
|
|
6
5
|
export const resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
|
|
6
|
+
const { fromLoginCredentials } = await import("@aws-sdk/credential-provider-login");
|
|
7
7
|
const credentials = await fromLoginCredentials({
|
|
8
8
|
...options,
|
|
9
9
|
profile: profileName,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { fromIni } from "./fromIni";
|
|
2
|
+
export { FromIniInit } from "./fromIni";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.973.1",
|
|
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",
|
|
@@ -28,18 +28,18 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "^3.
|
|
32
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
34
|
-
"@aws-sdk/credential-provider-login": "^3.972.
|
|
35
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
36
|
-
"@aws-sdk/credential-provider-sso": "^3.
|
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
38
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
39
|
-
"@aws-sdk/types": "^3.
|
|
40
|
-
"@smithy/core": "^3.29.
|
|
41
|
-
"@smithy/credential-provider-imds": "^4.4.
|
|
42
|
-
"@smithy/types": "^4.
|
|
31
|
+
"@aws-sdk/core": "^3.975.1",
|
|
32
|
+
"@aws-sdk/credential-provider-env": "^3.972.57",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "^3.972.59",
|
|
34
|
+
"@aws-sdk/credential-provider-login": "^3.972.63",
|
|
35
|
+
"@aws-sdk/credential-provider-process": "^3.972.57",
|
|
36
|
+
"@aws-sdk/credential-provider-sso": "^3.973.1",
|
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.63",
|
|
38
|
+
"@aws-sdk/nested-clients": "^3.997.31",
|
|
39
|
+
"@aws-sdk/types": "^3.974.0",
|
|
40
|
+
"@smithy/core": "^3.29.2",
|
|
41
|
+
"@smithy/credential-provider-imds": "^4.4.7",
|
|
42
|
+
"@smithy/types": "^4.16.0",
|
|
43
43
|
"tslib": "^2.6.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|