code: def _secret_yaml(loader, node):
      
      fname = os.path.join(os.path.dirname(loader.name), "secrets.yaml")
  
      try:
          with open(fname, encoding="utf-8") as secret_file:
              secrets = YAML(typ="safe").load(secret_file)
      except FileNotFoundError:
          raise ValueError("Secrets file {} not found".format(fname)) from None
  
      try:
          return secrets[node.value]
      except KeyError:
          raise ValueError("Secret {} not found".format(node.value)) from None
docs: Load secrets and embed it into the configuration YAML.