You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what is the best way to change the default "secret" password for the restheart admin?
Can we write to the collection directly or do we have to go via the REST api or is there some other means of initializing the restheart user collection with a predefined set of users/admins - what is your recommended approach?
thanks
Thomas
The text was updated successfully, but these errors were encountered:
You can set the configuration option /mongoRealmAuthenticator/create-user-document. This is used to create the admin user on the very first startup:
Look in the configuration you find this comment:
# create-user-document.password must be hashed when bcrypt-hashed-password=true
# default password is 'secret'
# see https://bcrypt-generator.com but replace initial '$2y' with '$2a'
The following configuration override defines the password to be supersecret:
Hi all,
what is the best way to change the default "secret" password for the restheart admin?
Can we write to the collection directly or do we have to go via the REST api or is there some other means of initializing the restheart user collection with a predefined set of users/admins - what is your recommended approach?
thanks
Thomas
The text was updated successfully, but these errors were encountered: