password-read

password-read is a compiled Lisp function in `password-cache.el'.

(password-read PROMPT &optional KEY)

Read password, for use with KEY, from user, or from cache if wanted.
KEY indicate the purpose of the password, so the cache can
separate passwords. The cache is not used if KEY is nil. It is
typically a string.
The variable `password-cache' control whether the cache is used.