Google应用程序默认凭据存储在哪里? [英] Where are Google Application Default Credentials stored?

查看:150
本文介绍了Google应用程序默认凭据存储在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您运行 gcloud auth登录

When you run gcloud auth login or gcloud auth list, where is it storing the credentials?

https://developers.google.com/identity/protocols/application-默认凭证

推荐答案

我找到了它们.它们位于〜/.config/gcloud/credentials 中.通过安装docker run --rm -it -v ~/.config/gcloud:/root/.config/gcloud alpine:3.4 sh,我可以将默认凭据传递给正在使用的docker映像.

I found them. They are in ~/.config/gcloud/credentials. I was able to pass the default credentials to the docker image I'm working on by mounting them docker run --rm -it -v ~/.config/gcloud:/root/.config/gcloud alpine:3.4 sh.

这篇关于Google应用程序默认凭据存储在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆