Public/Private keys for Google developers service account -
i've been going on while , can't manage understand how obtain public/private keys automatically created service account in google developers console.
i making python script imports data using gspread google spreadsheet, , authenticate myself through signedjwtassertioncredentials
need existent service account
the issue is:
i create new project using: "create project"
but when go permissions/permissions, see the service account need created, don't have keys it.
i want know how @developer.gserviceaccount.com
keys since have tried importing data google spreadsheets using other @xxx-22324.iam.gserviceaccount.com
no luck, says email address not exist.
edit:
whenever go api manager / credentials possibility generate key @mxxx-22324.iam.gserviceaccount.com
(the 1 can't use)
i solved issue:
google has updated service account detail format , it's way of sharing spreadsheets service accounts can accessible gspread.
i created service account new formating : xxx@montredo-22324.iam.gserviceaccount.com , set exact same file google generates json read application:
login = signedjwtassertioncredentials(json_key['client_email'], json_key['private_key'], scope)
then shared without notifications spreadsheet service account email (the same in json file mentioned)
and voila.
Comments
Post a Comment