Variable: sql-password-search-wallet-function

sql-password-search-wallet-function is a variable defined in sql.el.gz.

Value

sql-auth-source-search-wallet

Documentation

Function to handle the lookup of the database password.

The specified function will be called as:
  (wallet-func WALLET PRODUCT USER SERVER DATABASE PORT)

It is expected to return either a string containing the password, a function returning the password, or nil. If you want to support another format of password file, then implement a different search wallet function and identify the location of the password store with sql-password-wallet.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/sql.el.gz
(defvar sql-password-search-wallet-function #'sql-auth-source-search-wallet
  "Function to handle the lookup of the database password.
The specified function will be called as:
  (wallet-func WALLET PRODUCT USER SERVER DATABASE PORT)

It is expected to return either a string containing the password,
a function returning the password, or nil.  If you want to support
another format of password file, then implement a different
search wallet function and identify the location of the password
store with `sql-password-wallet'.")