I have a Google Cloud Project with:
I have two application that using those service accounts. Each application is using different kind (kind1
and kind2
).
I looking for a way to limit the access of:
kind1
onlykind2
onlyreadonly
or writeonly
? So, even if service account have permission to specific kind, still he can do limited operation on this kind?There is no such permissions or roles in GCP to limit access to datastore per kind. Your only way to do this is to control it on your backend application service(Nodejs, Python ...etc).
Consult the full permission list for datastore here[1]
[1]https://cloud.google.com/datastore/docs/access/iam#iam_roles