code: def auth_approle(self, role_id, secret_id=None, mount_point='approle', use_token=True):
          
          params = {
              'role_id': role_id
          }
          if secret_id is not None:
              params['secret_id'] = secret_id
  
          return self.login('/v1/auth/{0}/login'.format(mount_point), json=params, use_token=use_token)
docs: POST /auth/<mount_point>/login
  
          :param role_id:
          :type role_id:
          :param secret_id:
          :type secret_id:
          :param mount_point:
          :type mount_point:
          :param use_token:
          :type use_token:
          :return:
          :rtype: