Running the firecloud API from a google compute instance
I have been trying to run the firecloud api tools (fiss) from my google cloud instance and have been running into some issues regarding authorization. When I do the same steps on my local computer everything works beautifully, but when running on a cloud instance I get 401 errors.
I have tried running
gcloud auth login or
gcloud auth application-default login and given access to the google account that I use firecloud with and I can confirm that the default account has access to our firecloud project, but when I run
fissfc space_list I get an
Error 401. This is also true if I call it from within python with
api.list_workspaces(), I get
I have also tried using the fiss docker image, but am unsure how to authenticate within the docker environment.
Thanks for your help!