-
Notifications
You must be signed in to change notification settings - Fork 0
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
new database per microservice #99
Comments
The "best" mechanism to truly restrict access is RDS IAM - but that isn't normal db connection strings. It has to be enabled in the database etc and the connection strings are like v4 pre-signed strings. Is hard to wedge it in where you don't have control over the client lifecycle (Edgedb for instance? Though that has enough hooks that it might work) |
|
I mention it because at this level you don't use secrets at all |
So I think one of the downside of having this RDS-IAM is that the token used for the authentication needs to be refreshed every 15 minutes, in the case of EdgeDb I am not sure whether we could set up a refresh mechanism from the EdgeDb server itself as we usually pass in the postgres DSN at the environment variable. (I guess possible could have like a cron job and parameter store to make it work?) |
Yes 100% agree it wouldn't currently make sense for EdgeDb (I was tempted to actually put a ticket in to the edgedb folks themselves). |
A mechanism to create database names for each microsrvice and remove passing master secret to stateless stack
Ref: #92 (comment)
The text was updated successfully, but these errors were encountered: