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 programmatically 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.
RACF callable services interfaces
While there are a number of languages that can be used to manage RACF, (from low level languages 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
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
- Joe Bostian: jbostian@ibm.com
- Frank De Gilio: degilio@us.ibm.com
- Leonard Carcaramo: lcarcaramo@ibm.com
- Elijah Swift: Elijah.Swift@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.
Source Distribution
Built Distributions
File details
Details for the file pyracf-1.0b2.tar.gz
.
File metadata
- Download URL: pyracf-1.0b2.tar.gz
- Upload date:
- Size: 58.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03e55788e7d7dab9287507a138ffd67de2863807b0b9034a4e9cce8e086519fa |
|
MD5 | 17f64b368d51e84641637bcdfcb3da74 |
|
BLAKE2b-256 | 568ebf87074365d3e79436f2661ee5be792cf45280c0e0e273c509b219f67488 |
File details
Details for the file pyracf-1.0b2-cp311-none-any.whl
.
File metadata
- Download URL: pyracf-1.0b2-cp311-none-any.whl
- Upload date:
- Size: 70.0 kB
- Tags: CPython 3.11
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af907334ae8228413bef706c22f5ef6b01d99744e34bc27c90044c72704e81c6 |
|
MD5 | acfa6b1f40622ad1fb40c1de96f864ae |
|
BLAKE2b-256 | efa3e6ee523ca3231b101a981d97f508a64e8856fe219bb8d2682bfa148dc457 |
File details
Details for the file pyracf-1.0b2-cp310-none-any.whl
.
File metadata
- Download URL: pyracf-1.0b2-cp310-none-any.whl
- Upload date:
- Size: 69.6 kB
- Tags: CPython 3.10
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e81a626d866a54cf69eb55c44b90981884adc2d36d48326be31ead881a1901f |
|
MD5 | b3e199fc6f0c641ad2880c736ef81c54 |
|
BLAKE2b-256 | 79b46cfbb9d7df4f6cc9c1a45c5e62a1badef2084b0511fab17596e1c58c03b6 |