是否可以检索 Firebase Cloud Function 源代码? [英] Is it possible to retrieve Firebase Cloud Function source code?

查看:24
本文介绍了是否可以检索 Firebase Cloud Function 源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一些 Firebase 云函数,但我需要隐藏私钥,包括 Firebase 项目管理员.

I'm writing some Firebase Cloud Functions but I have need to hide a private key, including from Firebase project admins.

如果我将此密钥嵌入到我的源代码中并自己上传代码,那么任何人都可以检索源代码并因此检索密钥吗?通过 Firebase 还是 Google?

If I embedded this key into my source code and uploaded the code myself, would it be possible for anyone to retrieve the source code and thus the key? Either via Firebase or Google?

非常感谢

推荐答案

可能是设置环境变量:

官方文档

这篇关于是否可以检索 Firebase Cloud Function 源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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