Azure / Azure/azure-cli-extensions
az-devops-service-endpoint-update leaves much to be desired
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
Description
### Describe the bug
I am wondering what exactly can be updated using the [update command](https://learn.microsoft.com/en-us/cli/azure/devops/service-endpoint?view=azure-cli-latest#az-devops-service-endpoint-update). I would like to update the password of the service connection here by using the below mentioned azure CLI command but it looks like there is no way to get to it other than deleting the service connection and re-creating it. I would rather not prefer this approach since it invalidates my pipeline. I would expect the command : `az devops service-endpoint update` to provide a `--data` or `--set` argument.
### Related command
`az devops service-endpoint update --id .....`
### Errors
unrecognized arguments: --set
### Issue script & Debug output
az devops service-endpoint update --id --set
az devops service-endpoint update --id --data
### Expected behavior
I would expect that updating the content of the service connection should be supported and not just the metadata. This would be a step in the Azure pipeline definition.
### Environment Summary
azure-cli 2.49.0
core 2.49.0
telemetry 1.0.8
Extensions:
azure-devops 0.26.0
Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0
### Additional context
I am working in a big software organisation where this is going to be a blocker for our organisation wide adoption of ADO.
Contributor guide
Assessment
This issue has not been assessed yet.