@aws-sdk/credential-provider-web-identity
Advanced tools
Comparing version 3.353.0 to 3.354.0
@@ -11,6 +11,2 @@ "use strict"; | ||
const fromTokenFile = (init = {}) => async () => { | ||
return resolveTokenFile(init); | ||
}; | ||
exports.fromTokenFile = fromTokenFile; | ||
const resolveTokenFile = (init) => { | ||
var _a, _b, _c; | ||
@@ -30,1 +26,2 @@ const webIdentityTokenFile = (_a = init === null || init === void 0 ? void 0 : init.webIdentityTokenFile) !== null && _a !== void 0 ? _a : process.env[ENV_TOKEN_FILE]; | ||
}; | ||
exports.fromTokenFile = fromTokenFile; |
@@ -8,5 +8,2 @@ import { CredentialsProviderError } from "@aws-sdk/property-provider"; | ||
export const fromTokenFile = (init = {}) => async () => { | ||
return resolveTokenFile(init); | ||
}; | ||
const resolveTokenFile = (init) => { | ||
const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE]; | ||
@@ -13,0 +10,0 @@ const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN]; |
{ | ||
"name": "@aws-sdk/credential-provider-web-identity", | ||
"version": "3.353.0", | ||
"version": "3.354.0", | ||
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials", | ||
@@ -5,0 +5,0 @@ "main": "./dist-cjs/index.js", |
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
28792
298