class_docstr: A more secure dictionary for accessing plugin secrets in
  operators that will attempt to resolve missing plugin secrets upon access.
class_docstr_tok: ["A","more","secure","dictionary","for","accessing","plugin","secrets","in","operators","that","will","attempt","to","resolve","missing","plugin","secrets","upon","access","."]
code: def items(self):
      # Override items() to use __getitem__ to automatically resolve
      # missing secrets upon iteration
      try:
          if self.__frozen:
              for key in self.__required_keys:
                  yield key, self[key]
      except Exception as e:
          logging.error(f"Error when iterating through secrets:\n{e}")
          logging.debug(traceback.print_exc())
  
imports: import logging
  import traceback
  import typing
  from typing import Optional
  from ..internal import secrets
label_desc: Use image node_id 14 for calling the SecretsDictionary obj's underlying member method code with example usage: obj.items() without return types