https://docs.couchdb.org/en/stable/
Admin Interface: /_utils/
Either in the admin interface or directly, create a document in the _users
database that looks like:
{
"_id": "org.couchdb.user:newusername",
"name": "newusername",
"type": "user",
"roles": [],
"password": "plaintext_password"
}
{
"admins": {
"names": [],
"roles": []
},
"members": {
"names": [
"jan"
],
"roles": []
}
}
Untested: https://gist.github.com/ThibaultJanBeyer/389bca37f4b6973b84908895300bb7de