# File lib/aws/errors.rb, line 124
      def initialize msg = nil
        msg ||= "\nMissing Credentials.\n\nUnable to find AWS credentials.  You can configure your AWS credentials\na few different ways:\n\n* Call AWS.config with :access_key_id and :secret_access_key\n\n* Export AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to ENV\n\n* On EC2 you can run instances with an IAM instance profile and credentials\nwill be auto loaded from the instance metadata service on those\ninstances.\n\n* Call AWS.config with :credential_provider.  A credential provider should\neither include AWS::Core::CredentialProviders::Provider or respond to\nthe same public methods.\n\n= Ruby on Rails\n\nIn a Ruby on Rails application you may also specify your credentials in\nthe following ways:\n\n* Via a config initializer script using any of the methods mentioned above\n(e.g. RAILS_ROOT/config/initializers/aws-sdk.rb).\n\n* Via a yaml configuration file located at RAILS_ROOT/config/aws.yml.\nThis file should be formated like the default RAILS_ROOT/config/database.yml\nfile.\n\n"
        super(msg)
      end