Added generation of image upload credentials