Automattic / Automattic/knox

Support use of IAM roles on EC2 instance to avoid passing credentials

Open
#262 16 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.7k
Forks
283
PR merge metrics
No merged PRs in 30d

Description

The key and secret are currently hard requirements, but AWS also supports configuring an EC2 instance to be trusted automatically. Here's how it is done with the official AWS SDK for node:

http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html

It would be helpful to have this feature in knox as well.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked AWS SDK for Node configuration guide, then locate Knox's credential setup and the entry point that currently requires a key and secret. Confirm how credentials are selected and define done as allowing EC2 IAM role credentials without explicitly passed credentials, with coverage for that configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.