Idea Required to reach a basic Auth protected Service

Hi All , I am trying to reach a back end web-service that is Basic Auth Protected . I am trying to reach that web service to fetch the data using IBM API Connect . But i see that the credentials are visible in the YAML file when i download the Source . Is there anyway i can encrypt the credentials or save them in another Source and fetch from there and then pass those from APIC to the web-service . Please suggest a better Approach