Net::Amazon::Config::Profile - Amazon credentials for given profile


This documentation describes version 0.001.


This module defines a simple object representing a 'profile' of Amazon Web Services credentials and associated information.


A profile object is created by Net::Amazon::Config based on information in a configuration file. The object has the following read-only accessors:

  • profile_name -- as provided in the configuration file

  • access_key_id -- identifier for REST requests

  • secret_access_key -- used to sign REST requests

  • certificate_file -- path to a file containing identifier for SOAP requests

  • private_key_file -- path to a file containing the key used to sign SOAP requests

  • ec2_keypair_name -- the name used to identify a keypair when launching an EC2 instance

  • ec2_keypair_file -- the private key file used by ssh to connect to an EC2 instance

  • cf_keypair_id -- identifier for CloudFront requests

  • cf_private_key_file -- path to a file containing the key use to sign CloudFront requests

  • aws_account_id -- identifier to share resources (except S3)

  • canonical_user_id -- identifier to share resources (S3 only)

If an attribute is not set in the configuration file, the accessor will return undef.


Please report any bugs or feature requests using the CPAN Request Tracker web interface at

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.



David A. Golden (DAGOLDEN)


Copyright (c) 2010 by David A. Golden. All rights reserved.

Licensed under Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License was distributed with this file or you may obtain a copy of the License from

Files produced as output though the use of this software, shall not be considered Derivative Works, but shall be considered the original work of the Licensor.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.