AWSSetCredentials

Typecommand
Dictionarylibrary.aws
LibraryAmazon Web Services
Syntax
AWSSetCredentials <pAccessID>,<pSecret>,<pRegion>
Associationscom.livecode.library.aws
Summary

Set the credentials and AWS region to use with the library

Parameters
NameTypeDescription
pAccessID

Your AWS access ID

pSecret

Your AWS access secret

pRegion

The API endpoint region to connect to. Defaults to us-east-1

Example
constant kAccessID = "AAAAA"
constant kSecret = "SSSSS"

AWSSetCredentials kAccessID, kSecret, "us-east-1"
Description

All requests include an authorization header that contains a scoped signature using your access secret to form part of the signature key.

Note: As the access ID and secret need to be included in your application it is recommended they be constants in password protected scripts.

Tagsnetworking,networking