code: def create_with_secret(self, name, secret, encryption):
          
          try:
              encryption = encryption or DEFAULT_ENCRYPTION
              enc = ENCRYPTION_MAP[encryption]
          except KeyError:
              raise TypeError('encryption must be one of "cleartext", "md5"'
                              ' or "sha512"')
  
          cmd = 'username %s secret %s %s' % (name, enc, secret)
          return self.configure(cmd)
docs: Creates a new user on the local node
  
          Args:
              name (str): The name of the user to craete
  
              secret (str): The secret (password) to assign to this user
  
              encryption (str): Specifies how the secret is encoded.  Valid
                  values are "cleartext", "md5", "sha512".  The default is
                  "cleartext"
  
          Returns:
              True if the operation was successful otherwise False