Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement storage support via Cloud Spanner #815

Closed
tiziano88 opened this issue Apr 6, 2020 · 4 comments
Closed

Implement storage support via Cloud Spanner #815

tiziano88 opened this issue Apr 6, 2020 · 4 comments

Comments

@tiziano88
Copy link
Collaborator

Implement a client library in the Rust SDK that allows interacting with a Cloud Spanner instance.

This should not require any changes to the Runtime, it should be implemented by using a gRPC client pseudo-node connecting to the Cloud Spanner API.

Note that the root of trust for such stored data would be google.com, so only data that is labelled "public" (or scoped via an appropriate TLS tag -- see #814) can be stored in this way.

@tiziano88
Copy link
Collaborator Author

@conradgrobler assuming this requires establishing a gRPC connection and passing some auth token as metadata, how should we pass this secret to the application? Will it be covered by #696?

@conradgrobler
Copy link
Collaborator

I would guess so: Metadata Service for VMs and Kubernetes Secrets for Kubernetes workloads.

@tiziano88
Copy link
Collaborator Author

Sure, Metadata Service provides the secret to the oak runtime somehow, but how is the secret going to be accessed by the application? Perhaps related to #689 too, but we should have a clearer idea of how this is going to work e2e. cc @ipetr0v

@conradgrobler
Copy link
Collaborator

The gRPC client configuraiton needs to be refacored as well. If I understand the current configuration settings correctly, you can only specify a single target URL for the gRPC client pseudo node to connect to. In most cases I would guess you need multiple pseudo nodes, each with a target endpoint and a configured mechanism for authentication (eg auth token, username + password, client cert etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants