You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@aws-sdk/node-config-provider

Package Overview
Dependencies
Maintainers
5
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/node-config-provider

Load config default values from ini config files and environmental variable


Version published
Weekly downloads
3.7M
decreased by-3.15%
Maintainers
5
Install size
373 kB
Created
Weekly downloads
 

Package description

What is @aws-sdk/node-config-provider?

The @aws-sdk/node-config-provider package is part of the AWS SDK for JavaScript. It provides utilities for loading configuration settings for AWS SDK clients in Node.js environments. This package helps in managing configuration options such as credentials, region, and other settings required to interact with AWS services.

What are @aws-sdk/node-config-provider's main functionalities?

Load Configuration from Environment Variables

This feature allows you to load configuration settings directly from environment variables. This is useful for managing sensitive information like AWS credentials and region settings without hardcoding them in your application.

const { fromEnv } = require('@aws-sdk/node-config-provider');
const config = fromEnv();
console.log(config);

Load Configuration from Shared Config Files

This feature enables loading configuration settings from shared AWS config files, typically located in the user's home directory. This is useful for managing multiple profiles and settings in a centralized manner.

const { fromSharedConfigFiles } = require('@aws-sdk/node-config-provider');
const config = fromSharedConfigFiles();
console.log(config);

Load Configuration from a Custom Source

This feature allows you to load configuration settings from a custom source, such as hardcoded values or a custom configuration file. This provides flexibility in how you manage and load your AWS configuration settings.

const { fromStatic } = require('@aws-sdk/node-config-provider');
const config = fromStatic({ region: 'us-west-2', credentials: { accessKeyId: 'AKIA...', secretAccessKey: 'SECRET...' } });
console.log(config);

Other packages similar to @aws-sdk/node-config-provider

Changelog

Source

3.374.0 (2023-07-20)

Bug Fixes

  • packages: fix migrated package imports (#4990) (d800f78)

Features

  • client-codecatalyst: This release adds support for updating and deleting spaces and projects in Amazon CodeCatalyst. It also adds support for creating, getting, and deleting source repositories in CodeCatalyst projects. (05a9f89)
  • client-connectcases: This release adds the ability to assign a case to a queue or user. (f47d6f4)
  • client-lex-models-v2: This release updates type for Channel field in SessionSpecification and UtteranceSpecification (1f77d0a)
  • client-route53resolver: This release adds support for Route 53 On Outposts, a new feature that allows customers to run Route 53 Resolver and Resolver endpoints locally on their Outposts. (8acc64c)
  • client-s3: Improve performance of S3 clients by simplifying and optimizing endpoint resolution. (72eb598)
  • client-sagemaker-featurestore-runtime: Cross account support for SageMaker Feature Store (b0593ab)
  • client-sagemaker: Cross account support for SageMaker Feature Store (e4918c1)
  • client-securitylake: Adding support for Tags on Create and Resource Tagging API. (596636d)
  • client-transcribe: Added API argument --toxicity-detection to startTranscriptionJob API, which allows users to view toxicity scores of submitted audio. (9e7552a)
  • smithy-client: update client defaults provider (830cb06)

Readme

Source

@aws-sdk/node-config-provider

NPM version NPM downloads

FAQs

Package last updated on 20 Jul 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