-
Notifications
You must be signed in to change notification settings - Fork 18
validate service account email is the identity #6
Comments
related issue: jclouds/jclouds-labs#7 |
do you think we should do an additional call to make sure the identity is valid? |
Any improvements upon what I noticed are welcome! Main thing is to make it |
to be clear my suggestion would require a network call to check/get the project on context bootstrap (any valid api call would work but we might as well get the project since we are at it). |
Then I probably would do it. Stick with just making the validation On Sunday, March 10, 2013, David Ribeiro Alves wrote:
|
While we hope all folks read the README, I think we can do more to help them solve their own issues on
google-compute
.If you do not pass an email address as identity
GoogleComputeRestClientModule.supplyProject
, will throw an a helpful exception saying:identity should be in [email protected] format
.However, if you pass the email that you sign into the GCE console with, you get a vague error noted in issue #4:
If
GoogleComputeRestClientModule.supplyProject
checked that the identity ended in@developer.gserviceaccount.com
as opposed to just having a@
in it, then this confusion wouldn't be possible.cc @dralves @mattstep
The text was updated successfully, but these errors were encountered: