set S3 credentials from environment variables