Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spreg-satosa-sync-2.1.1.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

spreg_satosa_sync-2.1.1-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

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