Adding an initial administrator account
Access the server through SSH with an account with administrative privileges;
Run the following command to create the initial administrator:
# mongosh
# use stream
# db.security_accounts.insertOne({"identifier":"administrator","secret":"$6$96ZV/UmX1oMPUVA3$U5MejjbJ9S3jhqq1TDqhZMwVOcDX5BAWY3DL2nsxUHlpHj0LOfPuswy4nWjkMLify4FvKGKhEfADzljy7FGc8.","permissions":[{"value":"configuration:*"},{"value":"lifecycle:*"}],"roles":[], "type":"local"})
You can then exit the shell using CTRL + C twice.
The administrator credentials are:
|