code: def configure_token_store(
      credentials: authentication.Credentials,
  ) -> None:
      """Authenticate the user for CLI usage with the given credentials."""
      token_store = authentication.TokenStore(conf.make_master_url())
      certs.cli_cert = certs.default_load(conf.make_master_url())
      token = authentication.do_login(
          conf.make_master_url(),
          credentials.username,
          credentials.password,
          certs.cli_cert,
      )
      token_store.set_token(credentials.username, token)
      token_store.set_active(credentials.username)
  
imports: import uuid
  from typing import Callable, Optional, Sequence, TypeVar
  import pytest
  from determined.common import api
  from determined.common.api import authentication, bindings, certs, errors
  from tests import config
label_desc: Use image node_id 6 for calling a global function with example usage: configure_token_store(credentials) without return types