Running into below error when trying to create a user using Vault Mongo DB plug-in. Using Free Cluster, not sure if that is the limitation. I have done all the steps to set up vault configuration pointing to my Atlas Cluster - but does not allow me create users.
Here are the commands run.
vault write database/roles/my-role db_name=my-mongodb-database creation_statements=‘{ “db”: “admin”, “roles”: [{ “role”: “readWriteAnyDatabase” }] }’
and then
vault read database/creds/my-role ( to provision the user )
Thank you for pointing me to correct documentation on this. I am seeing a different error now.
I did follow the steps - I have installed Vault in my local and set up the config to point to my mongo db atlas account using programmatic access keys.
Error reading mongodbatlas/creds/test: Error making API request.