Example #1
0
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())
Example #2
0
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())
Example #3
0
def _vpn_cert_subject(project_id):
    """Helper to generate user cert subject"""
    return FLAGS.vpn_cert_subject % (project_id, utils.isotime())