class AWS::Errors::MissingCredentialsError

Raised when AWS credentials could not be found.

def initialize msg = nil

def initialize msg = nil
  msg ||= <<-MSG
g Credentials.
 to find AWS credentials.  You can configure your AWS credentials
different ways:
 AWS.config with :access_key_id and :secret_access_key
rt AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to ENV
C2 you can run instances with an IAM instance profile and credentials
 be auto loaded from the instance metadata service on those
ances.
 AWS.config with :credential_provider.  A credential provider should
er include AWS::Core::CredentialProviders::Provider or respond to
same public methods.
 on Rails
uby on Rails application you may also specify your credentials in
llowing ways:
a config initializer script using any of the methods mentioned above
. RAILS_ROOT/config/initializers/aws-sdk.rb).
a yaml configuration file located at RAILS_ROOT/config/aws.yml.
 file should be formated like the default RAILS_ROOT/config/database.yml
.
  super(msg)
end