Access to secure information bank service with the help of a client-side code

Using JSOM, CSOM, or REST (preferred), can I access credentials in a secure Information Store service? I have a SharePoint 2016 Enterprise farm on-premises. And it will be accessible internally from a Windows domain