This pull request adds two new environment variables to be passed on to the notification command.
The new CERTMONGER_NOTIFICATION_TYPE environment variable stores the type of the notification (e.g. "issued_and_saved" or "validity_ending") and the CERTMONGER_NOTIFICATION_CERT_NICKNAME stores the related request's nickname/ID.
The idea is to make it easier to create custom notification handlers (e.g. a graphical popup for end users) without having to rely on the message contents alone or without having to use D-Bus or other complicated methods.
This pull request adds two new environment variables to be passed on to the notification command.
The new
CERTMONGER_NOTIFICATION_TYPEenvironment variable stores the type of the notification (e.g. "issued_and_saved" or "validity_ending") and theCERTMONGER_NOTIFICATION_CERT_NICKNAMEstores the related request's nickname/ID.The idea is to make it easier to create custom notification handlers (e.g. a graphical popup for end users) without having to rely on the message contents alone or without having to use D-Bus or other complicated methods.