Amazon AWS SDK Manual de usuario Pagina 7

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 28
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 6
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
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.
Setting up AWS Credentials for Use with the
SDK for Ruby
To use the SDK for Ruby to access AWS resources, you must provide a set of AWS credentials, which
consist of an access key ID and a secret access key. We recommend that you do not use your account's
root credentials to access AWS. Instead, create one or more IAM users and provide those credentials to
the SDK for Ruby. In addition to providing a better way to manage credentials, each IAM user has one
or more attached policies that specify which resources the user can access, and which actions they can
perform on those resources. For more information, see Best Practices for Managing AWS Access Keys.
Version v1.0.0
4
AWS SDK for Ruby Developer Guide
Installing the SDK for Ruby
Vista de pagina 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 27 28

Comentarios a estos manuales

Sin comentarios