Python interface to RACF using IRRSMO00 RACF Callable Service.
Project description
Python interface into the RACF management application programming interface.
>>> from pyracf import UserAdmin
>>> user_admin = UserAdmin()
>>> user_admin.get_omvs_uid("squidwrd")
2424
>>> user_admin.set_omvs_uid("squidwrd", 1919)
>>> user_admin.get_omvs_uid("squidwrd")
1919
Description
As automation becomes more and more prevalent, the need to manage the security environment programmaticaly increases. On z/OS that means managing a security product like the IBM Resource Access Control Facility(RACF). RACF is the primary facility for managing identity, authority, and access control for z/OS. There are more than 50 callable services with assembler interfaces that are part of the RACF API. The complete set of interfaces can be found at:
http://publibz.boulder.ibm.com/epubs/pdf/ich2d112.pdf
While there are a number of languages that can be used to manage RACF, (from low level lnaguages like Assembler to higher level languages like REXX), the need to have it in a language that is used to manage other platforms is paramount. The pyRACF project is focused on making the RACF management tasks available to Python programmers. This will make it easier to manage RACF from management tools like Ansible and Tekton.
Getting Started
Dependencies
- z/OS 2.4 and higher.
- R_SecMgtOper (IRRSMO00): Security Management Operations.
- The appropriate RACF authorizations. Detail can be found at: https://www.ibm.com/docs/en/zos/2.5.0?topic=operations-racf-authorization
Installation
:warning: pyRACF will eventually be made available on pypi.org, but currently python wheel distributions for pyRACF are only available for manual download and installation via GitHub.
Usage
Help
Authors
- Leonard Carcaramo: lcarcaramo@ibm.com
- Elijah Swift: Elijah.Swift@ibm.com
- Joseph Bostian: jbostian@us.ibm.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.