
To get your access key ID and secret access key
Access keys consist of an access key ID and secret access key, which are used to sign programmatic
requests that you make to AWS. If you don't have access keys, you can create them by using the AWS
Management Console.
Note
To create access keys, you must have permissions to perform the required IAM actions. For
more information, see Granting IAM User Permission to Manage Password Policy and Credentials
in Using IAM.
1. Open the IAM console.
2. From the navigation menu, click Users.
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
Installing the SDK for Ruby
Note
This documentation is for the AWS SDK for Ruby version 1, which is a legacy version. For the
most recent version of the SDK for Ruby, see AWS SDK for Ruby - Version 2.
The SDK for Ruby is packaged as a gem. To install the SDK, enter the following command:
gem install aws-sdk
Tip
The AWS Ruby SDK runs on Ruby 1.8.7 and later versions. 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.
Version v1.0.0
4
AWS SDK for Ruby Developer Guide
Installing the SDK for Ruby
Komentáře k této Příručce