Socket
Socket
Sign inDemoInstall

@aws-sdk/credential-provider-env

Package Overview
Dependencies
3
Maintainers
5
Versions
159
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/credential-provider-env


Version published
Weekly downloads
19M
decreased by-4.53%
Maintainers
5
Created
Weekly downloads
 

Package description

What is @aws-sdk/credential-provider-env?

The @aws-sdk/credential-provider-env package is designed to provide AWS credentials from environment variables to applications. It is part of the AWS SDK for JavaScript (v3), which is a modular collection of software for interfacing with AWS services. This package specifically helps in retrieving AWS credentials set in the environment variables, making it easier to manage credentials in a secure and scalable way, especially in containerized or serverless environments where direct file access might be limited.

What are @aws-sdk/credential-provider-env's main functionalities?

Retrieving AWS credentials from environment variables

This feature allows the application to automatically load AWS credentials (such as AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and optionally AWS_SESSION_TOKEN) from the environment variables. It is particularly useful in automated environments like CI/CD pipelines or when deploying to AWS services like AWS Lambda or ECS, where you can set environment variables securely.

const { fromEnv } = require('@aws-sdk/credential-provider-env');

const credentials = fromEnv();
// Use the credentials with an AWS SDK client

Other packages similar to @aws-sdk/credential-provider-env

Changelog

Source

3.347.0 (2023-06-06)

Features

  • client-emr: This release provides customers the ability to specify an allocation strategies amongst PRICE_CAPACITY_OPTIMIZED, CAPACITY_OPTIMIZED, LOWEST_PRICE, DIVERSIFIED for Spot instances in Instance Feet cluster. This enables customers to choose an allocation strategy best suited for their workload. (ada81f8)
  • client-iam: This release updates the AccountAlias regex pattern with the same length restrictions enforced by the length constraint. (817667a)
  • client-inspector2: Adds new response properties and request parameters for 'last scanned at' on the ListCoverage operation. This feature allows you to search and view the date of which your resources were last scanned by Inspector. (b61d062)
  • client-iot-data-plane: Update thing shadow name regex to allow '$' character (d678417)
  • client-iot: Adding IoT Device Management Software Package Catalog APIs to register, store, and report system software packages, along with their versions and metadata in a centralized location. (7bf4fb1)
  • client-lex-models-v2: This release adds support for Lex Developers to create test sets and to execute those test-sets against their bots. (454008a)
  • client-quicksight: QuickSight support for pivot table field collapse state, radar chart range scale and multiple scope options in conditional formatting. (e89e93c)
  • client-signer: AWS Signer is launching Container Image Signing, a new feature that enables you to sign and verify container images. This feature enables you to validate that only container images you approve are used in your enterprise. (6647d54)
  • client-sqs: Amazon SQS adds three new APIs - StartMessageMoveTask, CancelMessageMoveTask, and ListMessageMoveTasks to automate redriving messages from dead-letter queues to source queues or a custom destination. (00f8d8a)
  • clients: update client endpoints as of 2023-06-06 (eefb716)
  • protocol-http: add reason to HttpResponse (#4772) (d29cb58)
  • protocol-http: add uri type and implementation (#4771) (5c7b40e)

Readme

Source

@aws-sdk/credential-provider-env

NPM version NPM downloads

An internal package

Usage

You probably shouldn't, at least directly. Please use @aws-sdk/credential-providers instead.

Keywords

FAQs

Last updated on 06 Jun 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc