Generates profiles to be used with the rai client
Generates a profile file that needs to be placed in ~/.rai_profile (linux/OSX) or %HOME%/.rai_profile (Windows -- for me this is C:\Users\abduld\.rai_profile). The rai client reads these configuration files to authenticate the user. A seed (specified by secret) is used to generate secure credentials
rai-keygen
-c, --color Toggle color output.
-d, --debug Toggle debug mode.
-e, --email string The email to generate the key for.
-r, --role string The role (or privaleges) of the user (student, power, etc...).
-f, --firstname string The firstname to generate the key for.
-l, --lastname string The lastname to generate the key for.
-s, --secret string The application secret key.
-u, --username string The username to generate the key for.
-v, --verbose Toggle verbose mode.
Creates keys for each person in a CSV file and emails the key to them.
Creates keys for each user in the students list and emails it to the them. The student list must be formated as a CSV file and be of the form lastname, firstname, username, email, role, affiliation. The config file must be configured with the propper mailing credentials.
rai-keygen emailkeys
-l, --studentlist string The student list is the file that contains a list of all the students in csv format [lastname,filename,email].
--subject string The subject line for the email sent.
-t, --template string The email template file to use when sending emails to the students.
-c, --color Toggle color output.
-d, --debug Toggle debug mode.
-s, --secret string The application secret key.
-v, --verbose Toggle verbose mode.
NCSA/UIUC © Abdul Dakkak