azure-devops-cli-extension
azure-devops-cli-extension copied to clipboard
[Feature Request] service-endpoint update should accept configuration file
The service-endpoint update command appears to only have one updateable field via the CLI: --enable-for-all
Would like to have the command accept --service-endpoint-configuration parameter so administrators can update/rotate endpoint values
Additional context The target API commands for create and update both accept the same schema in request body:
https://learn.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints/create?view=azure-devops-rest-6.0&tabs=HTTP
https://learn.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints/update-service-endpoint?view=azure-devops-rest-6.0&tabs=HTTP
Would like to see the CLI reflect the same capabilities as the REST API.
Hey there.
I don't know what information I can provide to escalate this "feature", but I hope it can be addressed in a somewhat timely manner.
The command is essentially non-functional. You cannot use it to update a service-endpoint.
Additionally, though it wouldn't be consistent, it would be great to update specific parameters from the command line rather than being required to submit a whole JSON file/object.
Also you cannot update important parameters via the ui. please document how to update parameters. Like authorization.serviceprincipalkey