Integrate credentials, build chooser scoping and scm-api