Is there any way to get cloud api key programmatically?

531 views
Skip to first unread message

parth karia

unread,
Sep 15, 2017, 4:56:59 AM9/15/17
to Google Cloud Developers

We have a web application in which we are going to use google cloud apis. We want to have a seperate billing for each clients as per their usage.
As of now, what clients have to do is, register on google cloud -> create a project -> select api key -> manually copy-paste to our system.
Is there any way to do this programmatically through cloud admin api? In other words, we would like to get client private key(of cloud api) on the client login(sign in with google, maybe!) itself.

Yannick (Cloud Platform Support)

unread,
Sep 15, 2017, 2:25:54 PM9/15/17
to Google Cloud Developers
Hello Parth,

API Keys can only be created manually through the Cloud Console. There is no way to create one for your own project manually, or for another user on their behalf. I understand you want the users to pay for their own usage of certain Cloud APIs? Which ones? Could you go into more details as to why you specifically need API Keys?

Will Tesler

unread,
Dec 11, 2017, 9:13:41 AM12/11/17
to Google Cloud Developers
I would like users to use the Google Cloud Speech API without needing to proxy all audio through my own backend.
Reply all
Reply to author
Forward
0 new messages