Integration with external URL


I have requirement to post issue data to external URL when ticket created/updated using custom app.

I used and able to get the EventType trigger the action. Currently, I am keeping external site credentials on the file. Is it possible to create a UI so admin can configure username and password and app can read those values. How can we to it? Please suggest. Thanks!