Identity Fed Setup for AWS

sudo apt-get install ruby
sudo apt-get install rubygems
sudo gem install json
sudo gem install cgi-spa
sudo gem install rest-open-uri
sudo apt-get install libxslt-dev libxml2-dev
sudo apt-get install build-essential
Create New IAM User to make API calls to STS. (User = identityfed)
Attach a Policy using Policy Generator with Amazon STS (the above ARN have to used.)

Access Key ID:
Secret Access Key:

Create an IAM Role (UnniRole)

Attached Policy Looks as Follows:

 "Version": "2012-10-17",
 "Statement": [
    "Sid": "Stmt1384322508000",
    "Effect": "Allow",
    "Action": [
    "Resource": [

AWS Ruby Script


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s