jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds-labs-google] Added Bucket Access Control with Tests (#27)
Date Sat, 23 Aug 2014 02:14:56 GMT
> +
> +* Q. What is the credential for GCE
> +
> +A. the credential is a private key, in pem format. It can be extracted from the p12
keystore that is obtained when creating a "Service Account" (in the GUI: Google apis console
> Api Access > Create another client ID > "Service Account"
> +
> +* Q. How to convert a p12 keystore into a pem format jclouds Google Cloud Storage can
> +
> +A.
> +
> +1. Convert the p12 file into pem format (it will ask for the keystore password, which
is usually "notasecret"):
> + openssl pkcs12 -in <my_keystore>.p12 -out <my_keystore>.pem -nodes
> +
> +2. Extract only the pk and remove passphrase
> + openssl rsa -in <my_keystore>.pem -out <my_key>.pem
> +
> +The last file (<my_key>.pem) should contain the pk that needs to be passed to
`ContextBuilder.credential()` for the provider `google-cloud-storage`.

The items in this Q & A are useful, but given the fact that READMEs don't have huge prominence
in jclouds, I wonder if this is the best place for them. A Provider Guide on the site, or
Javadoc might be a better choice.

Thoughts on this, @andrewgaul?

Reply to this email directly or view it on GitHub:
View raw message