googleapis / googleapis/google-cloud-python

if on a remote server (e.g. using `auth_local_webserver=False`), then don't cache user credentials by default

Open
#14,484 1 comment 0 reactions 1 assignee Claimed by @tswast View on GitHub
api: bigquery type: feature request
Dominant language
Python
Stars
5.4k
Forks
1.8k
Avg merge
3d 4h
Merged PRs (30d)
122

Description

If on a remote server (e.g. using `auth_local_webserver=False`), then there's a good chance the code is running on a shared machine (e.g. a VM or Colab notebook). In these cases, we should not cache credentials to a local filesystem, as there is a chance that other users have access to the same machine.

If I remember correctly, Colab already has patched this library to disable the caching when installed there, but it'd be great if we could do this by default in a way that works for all potentially-shared environments.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.