In this article you will learn how to create a Secure Store Application and retrieve credentials from the Secure Store Application.
A Secure store application is used to store credentials for fetching data from an external system.For example If we want to fetch data from a web service into a SharePoint project and credentials are required to access the web service then instead of hard-coding the credentials in the SharePoint project we can securely store the credentials in a secure store application.How to store credentials in a secure store application
How to access these credentials from Secure Store Application
I hope this will help you!
SharePoint Framework (SPFx) A Developers Guide