Amazon has an AWS SDK for iOS, along with several sample apps. In their samples, they put the API credentials in a Constants.h file:
Constants.h
// Constant
Probably you colud store them in an encoded form and encode them as needed.