Access to named credentials through the Salesforce API is available for users with the View Setup and Configuration permission. Where: This change applies to Lightning Experience and Salesforce Classic in all editions. https://help.salesforce.com/s/articleView?id=release-notes.rn_security_other_changes.htm&release=224&type=5