Open jlewi opened 2 years ago
Right now everytime the user invokes the CLI they have to through the OIDC WebFlow. This is rather inconvenient. We should cache the refresh token in a secure file so that it can be reused on subsequent CLI invocations.
Something like this https://github.com/kubeflow/internal-acls/blob/d957cafed925416074ab32c9ab8ca6e0a769b921/google_groups/pkg/gcp/credentials.go#L117
Right now everytime the user invokes the CLI they have to through the OIDC WebFlow. This is rather inconvenient. We should cache the refresh token in a secure file so that it can be reused on subsequent CLI invocations.
Something like this https://github.com/kubeflow/internal-acls/blob/d957cafed925416074ab32c9ab8ca6e0a769b921/google_groups/pkg/gcp/credentials.go#L117