Accessing AWS S3 from applications