extract swift credentials to separate file