azure-devops-cli-extension icon indicating copy to clipboard operation
azure-devops-cli-extension copied to clipboard

[Feature Request] service-endpoint update should accept configuration file

Open rpatchwork opened this issue 2 years ago • 2 comments

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.

rpatchwork avatar Jan 18 '23 23:01 rpatchwork

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.

lane-jacobs avatar Jan 26 '23 18:01 lane-jacobs

Also you cannot update important parameters via the ui. please document how to update parameters. Like authorization.serviceprincipalkey

picpromusic avatar Nov 24 '23 19:11 picpromusic