Pass netrc to external configuration service #2268
-
The external configuration API currently does not get passed any credentials for repositories. This makes it impossible to use external configuration services with private repositories when the service needs access to the repository's contents. As an example: I have a multi-user instance running, on which some users have private repositories. The instance uses my configuration service for nix flakes, which needs to read a file contained in the repos itself. This is currently not possible for private repositories as neither the credentials nor the repo's contents itself are POST'ed to the external configuration service. My proposal: Extend the schema of the JSON that gets POST'ed to the configuration service with the contents of the netrc/credentials that are used to clone the repositories on the runners. With this, the external configuration service migth also be a viable workaround for the proposed pipeline compile step |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I like the idea. From a security perspective it should also be fine as the instance admin sets the url of the config service and needs to make sure he trusts the config service |
Beta Was this translation helpful? Give feedback.
I like the idea. From a security perspective it should also be fine as the instance admin sets the url of the config service and needs to make sure he trusts the config service