Hi,
I'm beginning a project, written in C, that will access Google Cloud Storage.
I have a Service Account and have my Private Key.
I think I understand the process flow - but I'm confused about where to get the various keys I need.
I start by getting a JWT using OAuth 2.0
To do this I use the Client ID and my private key.
Is the Client ID the one that looks like this (on my Service Account page)?
123456789000.apps.googleusercontent.com
The private key should be 40 characters.
I'm not sure where to get that. My downloaded private key shows a sequence of 40 characters like this (not my actual key);
SHB656: BF 3B F8 7F 6F BF 66 FB 73 06 E6 05 B4 6B E8 92 F7 6C 5B 01 BB 75 B1 64 04 7E 1C 0E 4B 13 1F 68
Once I have the token, I can include it in the Header of my REST operations.
To create the signature for these requests, I use the public key (user identifier) and private key.
Where do I find the user identifier? Is it the 'Public key fingerprints' on the 'API Access' tab of my Service Account? It looks like;
Public key fingerprints: 1efe2f110f31f81100a13db7f919b12ca20a092b
Thanks,
Paul
--
You received this message because you are subscribed to the Google Groups "Google Cloud Storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gs-discussio...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--