pliablematter / simple-cloud-storage

A simple Java wrapper around the Google Cloud Storage API
81 stars 48 forks source link

Key details #5

Open sarankup opened 8 years ago

sarankup commented 8 years ago

Hi,

It looks Google has changed is UI a lot. I could not co-relate how to generate keys from the Google Storage using the given documentation. Even when I generate the keys using the new UI, I do not know how to co-relate all the below mentioned values

private static final String APPLICATION_NAME_PROPERTY = "application.name";
private static final String ACCOUNT_ID_PROPERTY = "account.id";
private static final String PRIVATE_KEY_PATH_PROPERTY = "private.key.path";

Please advise. Thanks in advance.

mmanzhos commented 8 years ago

Please consider looking at https://github.com/pliablematter/simple-cloud-storage/blob/master/src/main/resources/sample-cloudstorage.properties You have to enter your credentials: project.id=myproject-8888 application.name=MyBestApplication account.id=the_email_given_to_me_by_cloud@developer.gserviceaccount.com private.key.path=/path/to/key.p12