Azure / Azure/azure-cli-extensions

Unclear what I can achieve with 'az devops service-endpoint update'

Open
#2,657 13 comments 25 reactions 0 assignees View on GitHub
DevOps Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

I'm looking for a way to update the service principal password my existing service connection to Azure RM.
I thought `az devops service-endpoint update` could perhaps help me out, but I don't see how.

Is the _only_ thing you can do with `az devops service-endpoint update` is toggle `enable-for-all` ? Is it not possible to update the `--service-endpoint-configuration` property ( in the `create` command ) ? I have a hard time believing that so is something missing from the documentation or am I misunderstanding something?

So would it be possible to do `az devops service-endpoint update --service-endpoint-configuration "json-stuff-here"]` ?
Or - perhaps even nicer: `az devops service-endpoint update --set authorization.parameters.password=password123` like you can do with [az network firewall update](https://docs.microsoft.com/en-us/cli/azure/ext/azure-firewall/network/firewall?view=azure-cli-latest#ext_azure_firewall_az_network_firewall_update) for instance.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 6ecb62a2-f74c-a539-d3a8-c8fde7c2de06
* Version Independent ID: 5760936e-90a1-4129-6f6f-6dd4194bb73c
* Content: [az devops service-endpoint](https://docs.microsoft.com/en-us/cli/azure/ext/azure-devops/devops/service-endpoint?view=azure-cli-latest#ext_azure_devops_az_devops_service_endpoint_create)
* Content Source: [latest/docs-ref-autogen/ext/azure-devops/devops/service-endpoint.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/latest/docs-ref-autogen/ext/azure-devops/devops/service-endpoint.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Research direction

Start with latest/docs-ref-autogen/ext/azure-devops/devops/service-endpoint.yml and the az devops service-endpoint update entry point referenced in the issue. Compare the documented update options with the create command's service-endpoint-configuration behavior, then establish whether the requested credential update is supported and what documentation or command change would define completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.