passing google authentication private key as "Secret Access Key". replace manual json parsing and authentication with corresponding google java API