Skip to content

Conversation

@williambernardet
Copy link

@williambernardet williambernardet commented Nov 17, 2025

Allow VSS_NUGET_EXTERNAL_FEED_ENDPOINTS to support endpoint and endpointPrefix. EndpointPrefix would allow using a single configuration to configure the access to several feeds under a website. This would decrease the length of the whole environment variable value.

e.g: VSS_NUGET_EXTERNAL_FEED_ENDPOINTS: will support the following schema:

{"endpointCredentials": [
        {"endpoint":"http://example/index.json", "username":"optional", "password":"accesstoken"},
        {"endpointPrefix":"http://example/", "username":"optional", "password":"accesstoken"}
    ]
}

@williambernardet williambernardet changed the title Handle extenalProvider with endpointPrefix ExtenalCredentials to handle endpointPrefix Nov 17, 2025
@williambernardet williambernardet marked this pull request as ready for review November 17, 2025 22:50
@embetten
Copy link
Contributor

@williambernardet - is may already be achievable through setting VSS_NUGET_URI_PREFIXES and VSS_NUGET_ACCESSTOKEN as the password.

@williambernardet
Copy link
Author

@williambernardet - is may already be achievable through setting VSS_NUGET_URI_PREFIXES and VSS_NUGET_ACCESSTOKEN as the password.

Hi, I've been thinking of that, but need a different identity for different set of endpoints. So VSS_NUGET_URI_PREFIXES/VSS_NUGET_ACCESSTOKEN are configured to use the ADO identity for internal feeds, but I still need to access various additional external feeds on the website, and the variable start to be really lengthy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants