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.8.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

regapp_tools-0.2.8-py2.py3-none-any.whl (17.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: regapp-tools-0.2.8.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.1.dev25+g35e40d9 pkginfo/1.6.1 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1+

File hashes

Hashes for regapp-tools-0.2.8.tar.gz
Algorithm Hash digest
SHA256 5b4c52a17fb24897c0debc4fcd4c59135433cb2484a4c2e2a0d70e7132b6ff25
MD5 25aa9a0ca6093f5a82628d2991af6053
BLAKE2b-256 daf39f2f84e6b245a27e656d0af8db1c46a2d8b8fd9a5b24050a71d665472014

See more details on using hashes here.

File details

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

File metadata

  • Download URL: regapp_tools-0.2.8-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.1.dev25+g35e40d9 pkginfo/1.6.1 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1+

File hashes

Hashes for regapp_tools-0.2.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 97ee2b405c84e5c8a071a61c73fae3adb47e578bb883d9bd61aeb647b1a49378
MD5 74544306b6638293706b160cd98ecbf5
BLAKE2b-256 4b3f56948fbfa42bf727f058766f217ae9be52d2f318f2926b1452edd4af0a9a

See more details on using hashes here.

Supported by

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