
3. Select your IAM user name.
4. Click User Actions, and then click Manage Access Keys.
5. Click Create Access Key.
Your keys will look something like this:
• Access key ID example: AKIAIOSFODNN7EXAMPLE
• Secret access key example: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
6. Click Download Credentials, and store the keys in a secure location.
Your secret key will no longer be available through the AWS Management Console; you will have
the only copy. Keep it confidential in order to protect your account, and never email it. Do not share
it outside your organization, even if an inquiry appears to come from AWS or Amazon.com. No one
who legitimately represents Amazon will ever ask you for your secret key.
Related topics
• What Is IAM? in Using IAM
• AWS Security Credentials in AWS General Reference
Set Up Your Ruby Environment
The AWS Ruby gem runs on Ruby 1.8.7 and later. If you have an older version of Ruby, Ruby enVironment
Manager (RVM) is a great way to try the latest version. RVM is a command-line tool that manages multiple
versions of Ruby on a single computer.
Install the AWS SDK for Ruby
To install the AWS Ruby gem, enter the following command:
gem install aws-sdk
Install and Run the Samples Included in the SDK
To install the SDK samples, use Git to clone the AWS SDK for Ruby project from GitHub.
$ git clone git://github.com/aws/aws-sdk-ruby
$ cd aws-sdk-ruby/samples/
The subdirectories of the samples directory contain several code samples that you can run.These samples
demonstrate basic usage of the SDK features with services such as Amazon S3.
To run the Amazon S3 Sample
1. Create a YAML file named config.yml in the samples directory as follows:
Version v1.0.0
5
AWS SDK for Ruby Developer Guide
Set Up Your Ruby Environment
Komentáře k této Příručce