Skip to content

karthiksonti24/ec2-get-iam-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

EC2 Instance Metadata

This script is used to get access key, secret key and session token from role attached to an instance.

Prerequisites

Make sure you have AWS CLI and JQ package installed before. Steps for installation of AWS CLI can be found here

For Redhat/Centos distributon JQ can be installed using yum install jq and for Debian apt-get install jq .

USAGE

./ec2-instance-metadata.sh 

About

IAM Credentials from EC2 Role using Instance Metadata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages