Script to sync SATOSA clients from Perun RPC to mongoDB
Project description
spreg-satosa-sync
This project has reached end of life, which means no new features will be added. Security patches and important bug fixes will end as of 2023. Check out Federation registry and its SATOSA deployment agent instead.
Description
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
File details
Details for the file spreg-satosa-sync-2.1.2.tar.gz
.
File metadata
- Download URL: spreg-satosa-sync-2.1.2.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a74c1da163494f05ea5905e05fa3511e45e366630023c22bb9815cb5f3a78c8 |
|
MD5 | 89eafd2a7da541e26a26dba34b0ca720 |
|
BLAKE2b-256 | 47ff13bc00f097fbacea214775d4a77853d3997a400e6ba88ee961e4af0ac172 |
File details
Details for the file spreg_satosa_sync-2.1.2-py3-none-any.whl
.
File metadata
- Download URL: spreg_satosa_sync-2.1.2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 042ddc804840d95487772e889d2d29167400f870e5f03940a8c793618b33dfe7 |
|
MD5 | 0bae26fa81aa0630b20135ad89848b2d |
|
BLAKE2b-256 | 68afb558e669e90818cad5f405e6add61fc8cd70dc8c093dd1d357c873073d2d |