DataBiosphere / data-explorer

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

Check if private-key.json file is valid #375

Closed wnojopra closed 4 years ago

wnojopra commented 4 years ago

We currently give an error if the private-key.json file missing, but doesn't check if the credentials file is valid (for instance, if it had been revoked or is for the wrong project). We can do a pre-flight check on before doing the api server deployment by using the keyfile to create a signed url and check if it works