def _user_cert_subject(user_id, project_id): """Helper to generate user cert subject.""" return FLAGS.user_cert_subject % (project_id, user_id, utils.isotime())
def _vpn_cert_subject(project_id): """Helper to generate user cert subject""" return FLAGS.vpn_cert_subject % (project_id, utils.isotime())