Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@aws-sdk/credential-provider-process
Advanced tools
AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config
The @aws-sdk/credential-provider-process package is part of the AWS SDK for JavaScript (v3) and is used to load AWS credentials from a process specified in the shared AWS config and credentials files. This is useful for scenarios where you want to source credentials from an external process, which can be a custom credential provider or a token service.
Loading credentials from a process
This feature allows you to load AWS credentials by executing a process defined in your AWS config file. The credentials returned by the process are then used to authenticate AWS SDK clients.
const { fromProcess } = require('@aws-sdk/credential-provider-process');
const credentials = fromProcess();
// Use credentials with an AWS SDK client
const client = new SomeAwsClient({ credentials });
This package is similar to @aws-sdk/credential-provider-process in that it is also used to load AWS credentials, but it does so from the AWS shared configuration file (typically located at ~/.aws/credentials). It does not execute an external process to obtain credentials.
This package provides a way to retrieve AWS credentials by using Amazon Cognito Identity. It is different from @aws-sdk/credential-provider-process as it specifically targets Cognito for authentication rather than executing a custom process.
This package is designed to retrieve AWS credentials from web identity token files, which is useful for workloads running on EKS or using OIDC identity providers. Unlike @aws-sdk/credential-provider-process, it does not involve running a separate process to obtain credentials.
This package allows users to retrieve AWS credentials using AWS Single Sign-On (SSO). It differs from @aws-sdk/credential-provider-process by focusing on SSO as the credential source rather than a custom process.
An internal package
You probably shouldn't, at least directly. Please use @aws-sdk/credential-providers instead.
3.222.0 (2022-12-01)
FAQs
AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config
The npm package @aws-sdk/credential-provider-process receives a total of 18,046,371 weekly downloads. As such, @aws-sdk/credential-provider-process popularity was classified as popular.
We found that @aws-sdk/credential-provider-process demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.