Krzysztof PrzytuBa Posted July 6, 2021 Share Posted July 6, 2021 Hi, Is there any script like (create_app.sh) to create users or via API? I know in the new version it should be possible via API, but what steps should be taken for fresh installation to add admin user and view-only user without Web Panel? Link to comment Share on other sites More sharing options...
0 Krzysztof PrzytuBa Posted July 6, 2021 Author Share Posted July 6, 2021 We came up with the idea of how to resolve this. The idea is that we would like to use MongoDB instead of ManDB as probably this will allow us to manage to add users (and apps) separately from preparing Ant Media Server image (immutable infrastructure) and doing it ad-hoc via script. It is possible to use cluster mode with a single instance of AntMedia Server to use MongoDB instead of ManDB? Please confirm that this solution will work for us: MongoDB is storing App's data MongoDB is storing users data Optionally we are able to create users (we can add ADMIN/READ_ONLY users via MongoDB) Recreating Ant Media Server instance will only need to connect to existing MongoDB instance/replica to use the data Of course, we would prefer a simpler/cheaper solution as was mentioned before (simple command/script) to create users the same ways as we can create apps. If it would be possible please describe every step we need to do to create users for fresh instance of AMS (new initial admin user, authentication from localhost to REST API /users, new R-O user) Link to comment Share on other sites More sharing options...
Question
Krzysztof PrzytuBa
Hi,
Is there any script like (create_app.sh) to create users or via API?
I know in the new version it should be possible via API, but what steps should be taken for fresh installation to add admin user and view-only user without Web Panel?
Link to comment
Share on other sites
Top Posters For This Question
2
Popular Days
Jul 6
2
Top Posters For This Question
Krzysztof PrzytuBa 2 posts
Popular Days
Jul 6 2021
2 posts
1 answer to this question
Recommended Posts