Skip to main content

Lightweight FreeIPA client

Project description

python-freeipa is lightweight FreeIPA client.

Features

  • Login to FreeIPA server using username and password.

  • Search for users.

  • Display information about a user.

  • Add, modify and delete a user.

  • Get lockout status of a user account.

  • Enable and disable a user account.

  • Search for groups.

  • Display information about a named group.

  • Add, modify and delete a group.

  • Add members to a group.

  • Remove members from a group.

Dependencies

The only dependency is Python Requests library (http://docs.python-requests.org/)

See also API documentation: https://ipa.demo1.freeipa.org/ipa/ui/#/p/apibrowser/

Installation

Install python-freeipa in development mode along with dependencies:

pip install -e .[tests]

Run tests suite:

python setup.py test

Example usage

from python_freeipa import Client
client = Client('ipa.demo1.freeipa.org', version='2.215')
client.login('admin', 'Secret123')
user = client.user_add('test3', 'John', 'Doe', 'John Doe', preferred_language='EN')
print user

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-freeipa-0.1.2.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file python-freeipa-0.1.2.tar.gz.

File metadata

File hashes

Hashes for python-freeipa-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ab54a9553327a5b8f15a468d8e991f634b18942db2e5133968679a4578841aaf
MD5 9571d9045153709c3d2d578773c2db6a
BLAKE2b-256 7c51cc1ae7ed37f9d79f6b28515c253d8e1808beae23d51328a0a3d65096d038

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page