Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

securityscorecard/aws-account-alias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-account-alias Build Status

Motivation

You need the AWS account alias for the credentials found by the SDK's default credential provider, and you don't want to/can't install the AWS CLI.

Our Motivation

The AWS authentication backend in Hashicorp Vault requires the roles to be uniquely named. If you have multiple AWS accounts you wish to authenticate against identical roles, you have two options:

  1. Mount the AWS authentication backend multiple times, and duplicate the roles with changed AWS account IDs. This requires having a way to detect which account you're running in, and changing the API endpoint you use based off that.
  2. Mount the AWS authentication backend once, follow the cross account access guide, and prefix the Vault roles with a string depending on the account. This tool facilitates that.