Example #1
0
def getSecretForUserRegistration(userRegistration):
    return devops_pb2.Secret(
        enrollId=userRegistration.secretMsg['enrollId'],
        enrollSecret=userRegistration.secretMsg['enrollSecret'])
Example #2
0
 def getSecret(self):
     return devops_pb2.Secret(enrollId=self.secretMsg['enrollId'],
                              enrollSecret=self.secretMsg['enrollSecret'])