confidential-containers / simple-kbs

Key Broker Server for SEV(-ES)
Apache License 2.0
13 stars 13 forks source link

Add pluggable database backend #4

Closed fitzthum closed 2 years ago

fitzthum commented 2 years ago

We should support multiple database backends. Rather than connecting to a MySQL server, a user might want to use a SQLite db in a container.

larrydewey commented 2 years ago

I agree, this would be a really nice feature. I know there are two general approaches for tackling this, one would be an all encompassing library like sqlx, the other adding feature flags. I don't have a preference either way, so let the discussion commence! :)