Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleIndependent project

MidPoint CLI in Python is an independent (third-party) project. The project was independently started by Yannick Kirschhoffer. This project is not maintained by the Evolveum team. However, we find this project very useful and we are very grateful for its existence. It is almost certain that we will help maintaining the project by contributing code if needed.

Introduction

A command line client to Midpoint Identity Management system. We can find source code on page The page was moved to https://gitlab.com/alcibiade/midpoint-cli.

Installation

Info

Steps below was tested on ubuntu 18.04.

As the first step, we install python3-pip. 

Code Block
languagebash
sudo apt install -y python3-pip

Next, we clone the git project. 

Code Block
languagebash
git clone https://gitlab.com/alcibiade/midpoint-cli.git

We use pip3 to install package. 

Code Block
languagebash
cd midpoint-cli/midpoint_cli/
pip3 install midpoint-cli

Finally step is starting package midpoint-cli. 

Code Block
languagebash
python3 midpoint-cli

Arguments

The following arguments can be used during startup, for example python3 midpoint-cli -U http://localhost:8080/ .

...

Available commands:

get                  Get an XML definition from the server from an existing OID reference.

put                  Create/Update a server object based on an XML structure.

delete            Delete a server object based on its type and OID.

...

resource        Manage resources on the server.

...

user                 Manage users.

If you don't know how to use command, you can use help. We can also use help in conjunction with the command, for example help user.

See Also

docs.evolveum.com/community/related-projects/midpoint-cli-python/