Open IlyaEremin opened 3 years ago
any news on this feature? Is it on the roadmap?
Creating users independently of the constructor could also be more useful, since consuming stacks could spin up their own service users. One way to do this currently is to write your own custom resource to manage users, but having direct support would be helpful.
Currently, setting up the alternating-user password rotation strategy becomes a bit of a mess since we have to maintain our own custom resources to manage the service users
Feature description
Ability to create DocumentDB users via
DatabaseCluster
constructorUse Case
The main reason is separation of concerns. Master user has root access, it could be too dangerous for clients to use root user. We would like to have user with read/write rights only for database clients.
Proposed Solution
Add additional parameter
users
toDatabaseCluster
constructor. Example of usage:Parameters name and structure of object inspired by mongo shell documentation, I don't have strong preference related to naming or structure.
This is a :rocket: Feature Request