paraglider-project / paraglider

Streamlining cloud networking
https://paragliderproject.io
Apache License 2.0
61 stars 4 forks source link

[Infra] GCP ADC login not working for local dev #123

Open seankimkdy opened 1 year ago

seankimkdy commented 1 year ago

Unable to get tests to run by running:

gcloud auth application-default login --impersonate-service-account paraglider-cicd@paraglider-cicd.iam.gserviceaccount.com

This says I have insufficient permissions for some reason (mainly regarding some kind of access token).

I need to generate a key using:

gcloud iam service-accounts keys create /workspaces/paraglider/key.json \
    --iam-account=paraglider-cicd@paraglider-cicd.iam.gserviceaccount.com

and set:

export GOOGLE_APPLICATION_CREDENTIALS="/workspaces/paraglider/key.json"

for the tests to run.

divega commented 5 months ago

Triage: @seankimkdy, will you have a chance to investigate this and suggest next action? Is this still relevant and what priority should it have?

seankimkdy commented 5 months ago

@divega Not sure when I'll get to this. Marked as low priority and put into backlog.