
# S3.new will now use the credentials specified in AWS.config
s3 = AWS::S3.new
Warning
If you explicitly specify credentials, make sure that you do not accidentally expose your code on
a publicly accessible site, such as a public GitHub repository. Doing so could compromise your
account's integrity.
Where to Go from Here
The SDK reference documentation provides information about both the AWS Ruby gem and AWS Rails
integration gem.
The Additional Resources section has pointers to other resources to assist you in programming AWS.
The SDK for Ruby is packaged with a number of code samples, which you can browse on your machine
or view on GitHub. For more information about the samples that are provided, see AWS SDK for Ruby
Samples (p. 20).
Version v1.0.0
8
AWS SDK for Ruby Developer Guide
Where to Go from Here
Comentários a estes Manuais