default or selected kernelversion does not have config value CONFIG_KEYS_DEBUG_PROC_KEYS.
Result is shown for kernelversion 6.5.1

Enable the /proc/keys file by which keys may be viewed

configname: CONFIG_KEYS_DEBUG_PROC_KEYS

Linux Kernel Configuration
└─>Security options
└─>Enable the /proc/keys file by which keys may be viewed
In linux kernel since version 2.6.12  
This option turns on support for the /proc/keys file - through which
can be listed all the keys on the system that are viewable by the
reading process.

The only keys included in the list are those that grant View
permission to the reading process whether or not it possesses them.
Note that LSM security checks are still performed, and may further
filter out keys that the current process is not authorised to view.

Only key attributes are listed here; key payloads are not included in
the resulting table.

If you are unsure as to whether this is required, answer N.

depends
CONFIG_KEYS