0

I have a problem, how can I create user in MLRun/Iguazio system. I did not see relevant API in MLRun/Iguazio for creating the user. Unfortunately, I do not have relevant sample.

Did you solve the same issue?

JIST
  • 1,139
  • 2
  • 8
  • 30

1 Answers1

0

I have solution. It is possible to create user via IGZ-Mgmt-SDK see link. It is short sample, how you can create a user:

!pip install igz-mgmt

import igz_mgmt

client = igz_mgmt.Client(access_key="<some-access-id>")
new_user = igz_mgmt.User.create(
    client,
    username="newusername",
    password="rePlaceme12@!",
    email="user@iguazio.com",
    first_name="igz-sdk",
    last_name="test",
    uid=50,
)
JIST
  • 1,139
  • 2
  • 8
  • 30