I am self-hosting Bitwarden and trying to use an external database.
As the official doc explains, it has worked well after few ajustments.
At least that’s what I thought, until I check the admin’s container logs.
Now I have to deal :
The server principal “XXXX” is not able to access the database “master” under the current security context. Cannot open database “master” requested by the login. The login failed.
As expected, the account in the connection string seems to must be SA in order to run this external database. I can not use this user to run Bitwarden as we are externalyzing it on Azure SQL Databases and are applying least privileges.
Did any one tried to use an external DB on Azure ? What is the least privilege option that could fit my needs ?
Thanks for any participation and have a great day !