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
未关闭
api: bigquery
type: feature request
- 主要语言
- Python
- 星标
- 5.4k
- 派生
- 1.8k
- 平均合并
- 3 天 4 小时
- 30 天内合并 PR
- 122
描述
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.
贡献指南
评估
这个 Issue 还没有评估数据。