Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tiny/basic module for communicating with the FreeIPA API without having to install the entire FreeIPA toolchain

License

Notifications You must be signed in to change notification settings

Apstra/python-freeipa-json

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-freeipa-json

Tiny/basic module for communicating with the FreeIPA API without having to install their entire toolchain

Info

This module tries to use a minimal set of dependencies to communicate with FreeIPA through it's json rpc instead of using the official FreeIPA toolchain which is quite dependency heavy. Not all ipa functions has been added yet.

Installation

Use the included setup.py to install or manually copy the ipahttp to your python library directory.

Dependencies

  • requests

Example usage

import ipahttp

ipa = ipahttp.ipa('ipa.example.com')
ipa.login('apiuser', 'secret_password')
reply = ipa.host_find()
for host in reply['result']['result']:
    print('Found host %s' % host['fqdn'][0])

License

MIT © Nordnet Bank AB

About

Tiny/basic module for communicating with the FreeIPA API without having to install the entire FreeIPA toolchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.