Skip to main content

Commandline tools to work with the bwIDM regApp (aka LDAP Facade)

Project description

regapp-tools

These is a collection of (python for the moment) tools for regapp.

Main goal of this package is to have them easily installable via:

    pip install regapp-tools

The initial tools are:

  • subiss-to-unix that allows finding a user that was registered via OIDC in regapp. Examples:

    • subiss-to-unix <sub>@<iss>
    • subiss-to-unix test-id
    • subiss-to-unix 6c611e2a-2c1c-487f-9948-c058a36c8f0e@https://login.helmholtz-data-federation.de/oauth2
  • ssh-key-retriever (there is a go version in an rpm package available elsewhere). This one is for retrieving ssh-keys that users have registered in reg-app. Examples:

    • ssh-key-retriever <username>

Installation

pip install regapp-tools

Configuration

Both tools read config files from - ./regapp-tools.conf - $HOME/regapp-tools.conf - /etc/regapp-tools.conf in that order

Sample Config:

#vim: ft=conf

[backend.bwidm]
# The base URL of the BWIDM API
url = https://bwidm-test.scc.kit.edu/rest

# The ID of the organisation
org_id = hdf

[backend.bwidm.auth]
# HTTP basic auth to connect to BWIDM API
http_user = xxxx
http_pass = xxxx

[backend.bwidm.service]
# The name of the service the user should be added to on BWIDM:
name = sshtest

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

regapp-tools-0.2.16.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

regapp_tools-0.2.16-py2.py3-none-any.whl (18.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file regapp-tools-0.2.16.tar.gz.

File metadata

  • Download URL: regapp-tools-0.2.16.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.9

File hashes

Hashes for regapp-tools-0.2.16.tar.gz
Algorithm Hash digest
SHA256 2f7664eadaf37263c02f54f98c4497eb2ec06bc9f438d8a939f33cd3494d6b4d
MD5 8b29760a79d5c9a0da210f3c1f9ae53b
BLAKE2b-256 833bc3aa6ab4b20c32f5d35d2d09a1074f892ca4dd0e2617bf6f9bb9fc5c8e1f

See more details on using hashes here.

File details

Details for the file regapp_tools-0.2.16-py2.py3-none-any.whl.

File metadata

  • Download URL: regapp_tools-0.2.16-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.9

File hashes

Hashes for regapp_tools-0.2.16-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f784c541a60808478d3bf4d02c8654779545a92802bac30d51f39f986df78537
MD5 832d252d8b36815ef77e0a8761d1dc4f
BLAKE2b-256 ae4d54030511356aa78a3594c90feeebc590930770528a1a6053e13bf6d98044

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