Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

get-aws-creds

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-aws-creds

Get AWS creds+region from a config file, process.env, or EC2 metadata, in that order.

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

get-aws-creds from a config file, process.env, or EC2 metadata, in that order.

install

npm install get-aws-creds

use

via config file
var getCreds = require("get-aws-creds");
getCreds(myAwssumCallback, "./path/to/creds/json");
via process.env

Just set AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_REGION.

var getCreds = require("get-aws-creds");
getCreds(myAwssumCallback);
via EC2 instance meta-data

Nothing to do! get-aws-creds uses get-iam-creds to fetch the region and secrets from instance metadata.

var getCreds = require("get-aws-creds");
getCreds(myAwssumCallback);

license

Apache 2, because non-copyleft + patent protecting.

Keywords

FAQs

Package last updated on 25 May 2013

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc