code: def get_secrets_backend_provider(secrets_backend_type):
      from metaflow.plugins import SECRETS_PROVIDERS
  
      try:
          provider_cls = [
              pc
              for pc in SECRETS_PROVIDERS
              if pc.TYPE == secrets_backend_type
          ][0]
          return provider_cls()
      except IndexError:
          raise MetaflowException(
              "Unknown secrets backend type %s (available types: %s)"
              % (
                  secrets_backend_type,
                  ", ".join(
                      pc.TYPE
                      for pc in SECRETS_PROVIDERS
                      if pc.TYPE != "inline"
                  ),
              )
          )
  
imports: import os
  import re
  from metaflow.exception import MetaflowException
  from metaflow.decorators import StepDecorator
  from metaflow.metaflow_config import DEFAULT_SECRETS_ROLE
  from metaflow.unbounded_foreach import UBF_CONTROL
  from typing import Any, Dict, List, Union
label_desc: Use image node_id 5 for calling a global function with example usage: get_secrets_backend_provider(secrets_backend_type) and returns: provider_cls