code: def render(gpg_data, saltenv='base', sls='', argline='', **kwargs):
      '''
      Create a gpg object given a gpg_keydir, and then use it to try to decrypt
      the data to be rendered.
      '''
      if not _get_gpg_exec():
          raise SaltRenderError('GPG unavailable')
      log.debug('Reading GPG keys from: %s', _get_key_dir())
  
      translate_newlines = kwargs.get('translate_newlines', False)
      return _decrypt_object(gpg_data, translate_newlines=translate_newlinesf render(gpg_data, saltenv='base', sls='', argline='', **kwargs):
      '''
      Create a gpg object given a gpg_keydir, and then use it to try to decrypt
      the data to be rendered.
      '''
      if not _get_gpg_exec():
          raise SaltRenderError('GPG unavailable')
      log.debug('Reading GPG keys from: %s', _get_key_dir())
  
      translate_newlines = kwargs.get('translate_newlines', False)
      return _decrypt_object(gpg_data, translate_newlines=translate_newlines)
docs: Create a gpg object given a gpg_keydir, and then use it to try to decrypt
      the data to be rendered.