Skip to content

client.setCredentials()

SaltwaterC edited this page Nov 15, 2011 · 5 revisions

About

Sets up the credentials for the AWS API calls. Must be called before doing any remote calls to an AWS API. The client loader, aws.load() may transparently call it if you provide it the credentials.

Reference

client.setCredentials(accessKeyId, secretAccessKey)

  • 'accessKeyId' - together with the secretAccessKey represents the credentials pair provided by AWS.
  • 'secretAccessKey'
Clone this wiki locally