firebase login:ci是否可以访问我的所有项目? [英] Does firebase login:ci have access to all my projects?

查看:97
本文介绍了firebase login:ci是否可以访问我的所有项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将firebase login:ci令牌用于CI/CD.但是有关令牌的文档不足.

I am using the firebase login:ci token for CI/CD. But there is not enough documentation regarding the token.

它是否可以访问我的帐户可以访问的所有Firebase项目,或者仅可以访问当前活动的项目?

Does it have access to all my firebase projects where my account has access or only the current active project?

我在哪里可以看到所有令牌及其活动的列表?

Where can I see a list of all tokens and their activity?

我要解决的方法是创建一个一次性电子邮件,并将其添加到我要部署的项目中.这样可以吗?

The solution I am going for is creating a throwaway email and adding that to the project I want to deploy. Is this ok?

推荐答案

运行firebase login:ci时,系统会提示您使用Firebase帐户登录.选择您的帐户后,您将看到一个对话框,其中显示了您所授予的权限.其中包含:

When you run firebase login:ci you get prompted to log in with a Firebase account. After picking your account, you get a dialog that shows the permissions you're granting. This contains:

这将使Firebase CLI能够:

This will allow Firebase CLI to:

查看和管理您所有的Firebase数据和设置

View and administer all your Firebase data and settings

因此,如果您在该对话框中单击 Allow ,则Firebase CLI将有权访问该帐户有权访问的所有Firebase项目.据我所知,生成的令牌确实可以访问相同的作用域.

So if you click Allow in that dialog, the Firebase CLI will have access to all Firebase projects that the account has access to. The generated token does (as far as I know) have access to the same scope.

这篇关于firebase login:ci是否可以访问我的所有项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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