docstr: Get a secret by key in a synchronous context.
docstr_tok: ["Get","a","secret","by","key","in","a","synchronous","context","."]
code: def get_sync(self, key: str, **kwargs) -> Optional[ISecret]:
      """
      Get a secret by key in a synchronous context.
      """
      ...
  
imports: import abc
  from ..secret import ISecret
  from typing import Dict, List, Optional
label_desc: Use image node_id 1 for calling the ISecretProvider obj's underlying member method code with example usage: obj.get_sync(key) without return types