Skip to content

A bash (.sh) script to be run from an AWS ec2 instance to assume an IAM role and terraform config to build the IAM policies

Notifications You must be signed in to change notification settings

KyMidd/AWS_EC2_IAM_Authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

A bash (.sh) script to be run from an AWS ec2 instance to assume an IAM role

Corresponding terraform config provided to build the IAM roles, including:

  • Implicit role - assigned directly to an ec2 instance, has few permissions
  • Assumed role - assumed via the above bash script, has higher permissions

More info at: https://www.kylermiddleton.com/2019/08/aws-iam-assuming-iam-role-from-ec2.html

About

A bash (.sh) script to be run from an AWS ec2 instance to assume an IAM role and terraform config to build the IAM policies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published