Cloud Functions encryption

69 views
Skip to first unread message

Tedayc, LDA

unread,
Jul 22, 2021, 9:19:32 AM7/22/21
to Google Cloud Developers
Hi,

Is there a way to encrypt cloud functions? Not the communication itself.
For example, if someone else has access to cloud functions, is there a way they can't understand them?
I know about user roles and how to apply roles / permissions to block access, but the other person is the account owner and the cloud roles developer (copyright) doesn't want the owner to understand.
There must be a way?

 Thanks in advance.

BR,
Daniele

wokmou

unread,
Jul 22, 2021, 12:55:41 PM7/22/21
to Google Cloud Developers
Not very sure what you mean exactly with your request but here is a hint; Cloud Function has a built-in security at role and per function level based on the principle of least privilege[1]. Meaning that a resource should only have access to the exact resource(s) it needs in order to function. Here are some recommendation[2]. You could elaborate more on your request in order to receive additional help.

Tedayc, LDA

unread,
Jul 23, 2021, 4:32:32 AM7/23/21
to Google Cloud Developers
Hi,

I meant encrypt cloud functions so that users that have access to cloud functions can't understand them without using roles.

Thanks in advance.

BR,
Daniele

barrado

unread,
Jul 28, 2021, 7:40:44 AM7/28/21
to Google Cloud Developers
This is not possible, but I am not sure why someone would like to have this feature. If the user are granted with the proper roles to view and edit the Cloud Function code, what would be the reason to encrypt the code so they can't be able to view it?

Tedayc, LDA

unread,
Jul 29, 2021, 3:31:01 AM7/29/21
to Google Cloud Developers

Hello,

I understand and I agree with you, it was just a question.
Because if a client open his own cloud, he will be the owner (all access) but didn't develop the cloud functions (asks another company) the copyright belongs to the other company. 
The developement company will have to sell copyrights, correct?

BR,
Daniele Carvalho
Reply all
Reply to author
Forward
0 new messages