Script to sync SATOSA clients from Perun RPC to mongoDB
Project description
spreg_satosa_sync.py
Script to read clients attributes from perun rpc and write them to mongoDB.
Install
Install from pypi.org:
pip install spreg-satosa-sync
Configure
Create a new config file from config_template.yml
.
This script uses the perun.connector library. Because of this, you have to
fill adapters_manager
and attrs_cfg_path
configuration options in your config file.
attrs_cfg_path
is a path to a yaml file which specifies mapping of attributes.
You can find inspiration for the configuration in the config_templates
directory of the perun.connector repository.
Use
The pip package registers a console entrypoint called spreg_satosa_sync
, which you can call directly.
The only argument is a path to config file:
spreg_satosa_sync /etc/path/to/config.yml
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 Distribution
Hashes for spreg_satosa_sync-2.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 401f41fda97e3dcb54630d182a0fb8733e6f9dc265ffd53cfdeff08cc7bdec7a |
|
MD5 | dac5584d1c7fb3f8c1dff8fbaaf3186a |
|
BLAKE2b-256 | 905646c2359d09e9c955815b86107e60399caab39180ed5f3efff447529bd910 |