APIPythonOpen-Source Solutions

Expand all | Collapse all

API to create users in Delphix Engine and in Masking Engine?

  • 1.  API to create users in Delphix Engine and in Masking Engine?

    Posted 04-09-2018 07:08:00 AM
    Hello Team, 
    Could you please let me know the  API to create users in Delphix Engine and in Masking Engine.


    #Masking


  • 2.  RE: API to create users in Delphix Engine and in Masking Engine?

    Posted 04-09-2018 07:49:00 AM
    Hi Pankaj,

    Use POST methode with this uri http://DE/resources/json/delphix/user

    Passe this code to it

    {
        "type": "User",
        "name": "demo",
        "authenticationType": "NATIVE",
        "credential": {
            "type": "PasswordCredential",
            "password": "demo"
        }
    }


    Regards,

    Mouhssine


  • 3.  RE: API to create users in Delphix Engine and in Masking Engine?



  • 4.  RE: API to create users in Delphix Engine and in Masking Engine?

    Posted 04-09-2018 08:48:00 AM
    Hi,

    Please find steps from CLI :

    LandsharkEngine user create *> ls
    Properties
        type: User
        name: (required)
        authenticationType: (unset)
        credential: (unset)
        emailAddress: (unset)
        enabled: true
        firstName: (unset)
        homePhoneNumber: (unset)
        isDefault: (unset)
        lastName: (unset)
        locale: en-US
        mobilePhoneNumber: (unset)
        principal: (unset)
        publicKey: (unset)
        sessionTimeout: 30min
        userType: DOMAIN
        workPhoneNumber: (unset)
    LandsharkEngine user create *> set name=demo
    LandsharkEngine user create *> set authenticationType=NATIVE
    LandsharkEngine user create *> commit


    Regards,

    Mouhssine


  • 5.  RE: API to create users in Delphix Engine and in Masking Engine?

    Posted 04-09-2018 08:53:00 AM
    Thanks..!
    Could you please do we have option from browser also ?
    From browser we could just see the list of users only , is it not possible to do add update delete operation from browser ?


  • 6.  RE: API to create users in Delphix Engine and in Masking Engine?



  • 7.  RE: API to create users in Delphix Engine and in Masking Engine?

    Posted 04-09-2018 09:18:00 AM
    Could you please give me one CURL request to add the user in Delphix Engine or in Masking Engine?
    nothing is given in doc 


  • 8.  RE: API to create users in Delphix Engine and in Masking Engine?

    Posted 04-09-2018 11:19:00 AM
    Could you please give me one CURL request to add the user in Delphix Engine or in Masking Engine?
    nothing is given in doc 
    Please help me 


  • 9.  RE: API to create users in Delphix Engine and in Masking Engine?

    Posted 04-09-2018 11:19:00 AM
    Could you please give me one CURL request to add the user in Delphix Engine or in Masking Engine?
    nothing is given in doc 
    Please help me 


  • 10.  RE: API to create users in Delphix Engine and in Masking Engine?
    Best Answer

    Posted 04-11-2018 03:12:00 AM
    Hi Pankaj,

    curl -X POST -k --data @- http://<engineaddr>/resources/json/delphix/user \
    -b cookies.txt -H "Content-Type: application/json" <<EOF
    {
        "type": "User",
        "name": "demo",
        "authenticationType": "NATIVE",
        "credential": {
            "type": "PasswordCredential",
            "password": "demo"
        }
    }
    EOF

    Regards,

    Mouhssine