---

mongod_replicaset_passphrase: "changemeforprod"

mongodb:
    passphrase: mongogo
    admin:
        db: admin
        user: "vitamdb-admin"
        password: azerty
        roles:  '[{ role: "userAdminAnyDatabase", db: "admin" }, { role: "backup", db: "admin" }, { role: "restore", db: "admin" }, { role: "dbAdminAnyDatabase", db: "admin" }, { role: "readWriteAnyDatabase", db: "admin" }, { role: "clusterMonitor", db:"admin"}, { role: "root", db:"admin"}]'
    localadmin:
        db: admin
        user: "mongod_dbuser_localadmin"
        password: "mongod_dbpwd_localadmin"
        roles:  '[{ role: "clusterAdmin", db: "admin" },{ role: "dbAdminAnyDatabase", db: "admin" },{ role: "readWriteAnyDatabase", db: "admin" }]'
    system:
        user: "vitamdb-system"
        password: azerty
    security:
        db: security
        user: "api-security"
        password:  "api-security"
        roles: '[{ role: "readWrite", db: "security" }]'
    iam:
        db: iam
        user: "api-iam"
        password: "api-iam"
        roles: '[{ role: "readWrite", db: "iam" }]'
    cas:
        db: cas
        user: cas
        password: cas
        roles: '[{ role: "readWrite", db: "cas" }]'
    versioning:
        db: versioning
        user: versioning
        password: versioning
        roles: '[{ role: "readWrite", db: "versioning" }]'
    archivesearch:
      db: archivesearch
      user: "api-archive-search"
      password: "api-archive-search"
      roles: '[{ role: "readWrite", db: "archivesearch" }]'
