Skip to content

dd-ix/ddix-enrollment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DD-IX Enrollment Helpers

This little helper scripts creates user enrollment invites and sends them via email using listmonk.

Prerequisites

  • authentik: get a api token from a user with permissions to create user invites
  • listmonk: get a api token for sending mails
  • put the credentials in the tokens.ini file (template: tokens.ini.ex)

create-invites.py

This script creates the invites in authentik:

  • prepare a csv file (username, full name, email)
  • ./create-invites.py < enroll.csv > invites.csv

The script prints the csv file with an additional invite uuid. The output is to be parsed by the send-invites.py script.

send-invites.py

This script send the invites via listmonk:

  • use the csv file from the first step (username, full name, email, itoken, expire)
  • ./send-invites.py < invites.csv

About

DD-IX Enrollment Helpers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published