Skip to content

Which privileges should Apicurio database user have? #3501

Answered by EricWittmann
iankotzekov asked this question in Q&A
Discussion options

You must be logged in to vote

Oh my - this is an old question that I never noticed. So sorry.

There are two things going on here. The first is what permissions does registry need to access the PG db. The answer is it depends on whether you want registry to create the tables for you or not. Some companies have DBAs that want to vet and run any DDLs that create tables in a DB. If you do that, then you'll need this (for example):

https://github.com/Apicurio/apicurio-registry/blob/2.5.x/app/src/main/resources/io/apicurio/registry/storage/impl/sql/postgresql.ddl

And then you just need to give the application standard table write permissions. I'm not a DBA so I don't recall offhand the technical specifics in PG of what that…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by EricWittmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants