DataBiosphere / data-explorer

BSD 3-Clause "New" or "Revised" License
11 stars 6 forks source link

Add pre-flight check for valid private-key.json #376

Closed wnojopra closed 4 years ago

wnojopra commented 4 years ago

Fixes #375

This test checks that your private-key.json file is valid by generating a signed url to an object in the project's bucket, and checks that we can successfully GET the signed url.

I ran the script with a valid key file, and it passes. I verified that running the script with an invalid key file or a key file from a different project will give an error.