Socket
Socket
Sign inDemoInstall

@aws-sdk/credential-provider-env

Package Overview
Dependencies
Maintainers
5
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/credential-provider-env

AWS credential provider that sources credentials from known environment variables


Version published
Weekly downloads
19M
increased by4.34%
Maintainers
5
Weekly downloads
 
Created

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.303.0 (2023-03-30)

Features

  • client-athena: Make DefaultExecutorDpuSize and CoordinatorDpuSize fields optional in StartSession (1a4cd21)
  • client-auto-scaling: Amazon EC2 Auto Scaling now supports Elastic Load Balancing traffic sources with the AttachTrafficSources, DetachTrafficSources, and DescribeTrafficSources APIs. This release also introduces a new activity status, "WaitingForConnectionDraining", for VPC Lattice to the DescribeScalingActivities API. (3f4037e)
  • client-batch: This feature allows Batch on EKS to support configuration of Pod Labels through Metadata for Batch on EKS Jobs. (d26bec4)
  • client-compute-optimizer: This release adds support for HDD EBS volume types and io2 Block Express. We are also adding support for 61 new instance types and instances that have non consecutive runtime. (defd0ca)
  • client-drs: Adding a field to the replication configuration APIs to support the auto replicate new disks feature. We also deprecated RetryDataReplication. (6848391)
  • client-ec2: This release adds support for Tunnel Endpoint Lifecycle control, a new feature that provides Site-to-Site VPN customers with better visibility and control of their VPN tunnel maintenance updates. (daa7956)
  • client-emr: Updated DescribeCluster and ListClusters API responses to include ErrorDetail that specifies error code, programmatically accessible error data,and an error message. ErrorDetail provides the underlying reason for cluster failure and recommends actions to simplify troubleshooting of EMR clusters. (aa47baa)
  • client-glue: This release adds support for AWS Glue Data Quality, which helps you evaluate and monitor the quality of your data and includes the API for creating, deleting, or updating data quality rulesets, runs and evaluations. (811c814)
  • client-guardduty: Added EKS Runtime Monitoring feature support to existing detector, finding APIs and introducing new Coverage APIs (0f16674)
  • client-imagebuilder: Adds support for new image workflow details and image vulnerability detection. (a2d8908)
  • client-ivs: Amazon Interactive Video Service (IVS) now offers customers the ability to configure IVS channels to allow insecure RTMP ingest. (0001a10)
  • client-kendra: AWS Kendra now supports featured results for a query. (2271816)
  • client-network-firewall: AWS Network Firewall added TLS inspection configurations to allow TLS traffic inspection. (801cd21)
  • client-sagemaker-geospatial: Amazon SageMaker geospatial capabilities now supports server-side encryption with customer managed KMS key and SageMaker notebooks with a SageMaker geospatial image in a Amazon SageMaker Domain with VPC only mode. (04b37bf)
  • client-vpc-lattice: General Availability (GA) release of Amazon VPC Lattice (fc57f8f)
  • client-wellarchitected: AWS Well-Architected SDK now supports getting consolidated report metrics and generating a consolidated report PDF. (f0d07c4)
  • clients: update client endpoints as of 2023-03-30 (4682bc1)

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

Package last updated on 30 Mar 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
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc