#8195 RFE: Documented API for Automation
Closed: fixed 9 months ago by antorres. Opened 4 years ago by linuxdan.

Request for enhancement

As an IPA user/admin , I want a well documented Python API so that I can create scripts for automation.

Acceptance criteria:

  • The API should allow standard IPA CLI-type commands to be run from a Python script, avoiding all the extra, informational output that comes on the command line.
  • For an admin, the API should be able to pick up local Kerberos credentials generated by kinit.
  • For unattended execution, a service keytab or username/password credential methods should be available.
  • Documented API with examples

Background:

FreeIPA is currently written in Python, I believe. A simple API, leveraging the FreeIPA code base, that can access all the command line commands would be nice to have for automation. By using Python, the responses can be easily parsed and processed rather than using hacks on the command line output.


Metadata Update from @antorres:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

9 months ago

Login to comment on this ticket.

Metadata