Jump to content
  • 0

Create new user via script or API


Krzysztof PrzytuBa
 Share

Question

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

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

 Share


×
×
  • Create New...