@aws-sdk/credential-provider-process
Advanced tools
@@ -5,4 +5,4 @@ 'use strict'; | ||
| var propertyProvider = require('@smithy/property-provider'); | ||
| var child_process = require('child_process'); | ||
| var util = require('util'); | ||
| var node_child_process = require('node:child_process'); | ||
| var node_util = require('node:util'); | ||
| var client = require('@aws-sdk/core/client'); | ||
@@ -45,3 +45,3 @@ | ||
| if (credentialProcess !== undefined) { | ||
| const execPromise = util.promisify(sharedIniFileLoader.externalDataInterceptor?.getTokenRecord?.().exec ?? child_process.exec); | ||
| const execPromise = node_util.promisify(sharedIniFileLoader.externalDataInterceptor?.getTokenRecord?.().exec ?? node_child_process.exec); | ||
| try { | ||
@@ -48,0 +48,0 @@ const { stdout } = await execPromise(credentialProcess); |
| import { CredentialsProviderError } from "@smithy/property-provider"; | ||
| import { externalDataInterceptor } from "@smithy/shared-ini-file-loader"; | ||
| import { exec } from "child_process"; | ||
| import { promisify } from "util"; | ||
| import { exec } from "node:child_process"; | ||
| import { promisify } from "node:util"; | ||
| import { getValidatedProcessCredentials } from "./getValidatedProcessCredentials"; | ||
@@ -6,0 +6,0 @@ export const resolveProcessCredentials = async (profileName, profiles, logger) => { |
| import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types"; | ||
| import { SourceProfileInit } from "@smithy/shared-ini-file-loader"; | ||
| import type { SourceProfileInit } from "@smithy/shared-ini-file-loader"; | ||
| /** | ||
@@ -4,0 +4,0 @@ * @internal |
@@ -1,3 +0,3 @@ | ||
| import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types"; | ||
| import { ProcessCredentials } from "./ProcessCredentials"; | ||
| import type { AwsCredentialIdentity, ParsedIniData } from "@smithy/types"; | ||
| import type { ProcessCredentials } from "./ProcessCredentials"; | ||
| /** | ||
@@ -4,0 +4,0 @@ * @internal |
@@ -1,2 +0,2 @@ | ||
| import { AwsCredentialIdentity, Logger, ParsedIniData } from "@smithy/types"; | ||
| import type { AwsCredentialIdentity, Logger, ParsedIniData } from "@smithy/types"; | ||
| /** | ||
@@ -3,0 +3,0 @@ * @internal |
+3
-3
| { | ||
| "name": "@aws-sdk/credential-provider-process", | ||
| "version": "3.972.12", | ||
| "version": "3.972.13", | ||
| "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config", | ||
@@ -29,4 +29,4 @@ "main": "./dist-cjs/index.js", | ||
| "dependencies": { | ||
| "@aws-sdk/core": "^3.973.14", | ||
| "@aws-sdk/types": "^3.973.3", | ||
| "@aws-sdk/core": "^3.973.15", | ||
| "@aws-sdk/types": "^3.973.4", | ||
| "@smithy/property-provider": "^4.2.10", | ||
@@ -33,0 +33,0 @@ "@smithy/shared-ini-file-loader": "^4.4.5", |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
23395
0.26%0
-100%0
-100%Updated
Updated