Ad

"Cloud Datastore" Permission For Google Compute Engine VM Instance

While setting permissions for a new Google Compute Engine VM instance, I noticed that "Cloud Datastore" is a service I can grant my VM access to.

As far as I can tell, remote_api and the Python Protobuf Datastore API both use service accounts, which bypass VM permissions.

Does Google have any Datastore libraries that support VM-permission-based authentication?

Ad

Answer

Yes.

There's also the Cloud Datastore API which can be accessed quite easily with gcloud-python, Python idiomatic client for Google Cloud Platform services. Specifically its datastore clienta convenience wrapper for invoking APIs/factories w/ a dataset ID same as cloud project id.

Ad
source: stackoverflow.com
Ad