[Feature Request] az devops service-endpoint does not accept secrets
See original GitHub issueIs your feature request related to a problem? Please describe.
Currently az devops service-endpoint
does only accept certificates using parameter --azure-rm-service-principal-certificate-path
there’s no parameter to configure a service-endpoint in Azure DevOps using a Service Principal with a secret.
Describe the solution you’d like I’d like to have the possibility to create a service endpoint in Azure DevOps not only with a Service Principal with a certificate but also with a secret.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
Create service endpoint using Azure DevOps CLI
With the az devops service-endpoint command, you can create and manage different types of service connections. A service connection allows Azure ...
Read more >Problem creating a kubernetes service endpoint via API
I`ve looked all over the docs for the accepted parameters, but I could not find it. The request that I`m sending is this...
Read more >Azure DevOps service endpoint automation - Evgeny Borzenin
Service principal secret is only accessible right after spn is created (you can re-create a new secret later), but you can't retrieve existing ......
Read more >Exam AZ-400 topic 2 question 31 discussion - ExamTopics
[All AZ-400 Questions] ... Ensure that the secrets are retrieved by Azure DevOps. ... How should you configure the service endpoint?
Read more >Azure DevOps: Update service connection expired secret
It's a weird that UI and devops cli don't allow us to quickly change ... [Postman] Using the following GET request, get a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@heoelri Secrets are supported to create an AzureRM service-endpoint.
Here is a sample command signature -
In interactive mode you will be prompted for the secret since in Azure-Devops extension we try to avoid that the user enters any form of secret/password in command prompt as command params which becomes prone to leaks in the Cmd/bash history.
In non interactive mode you can specify it using a ENV variable which is provided in the command help text.
Refer this documentation for more details - https://docs.microsoft.com/en-us/azure/devops/cli/service_endpoint?view=azure-devops#creating-azure-rm-service-endpoint
Hi @HermenOtter, I’m using a certificate now in order to correctly register a service connection : https://docs.microsoft.com/fr-fr/azure/devops/cli/service-endpoint?view=azure-devops#use-a-client-certificate
Have a nice day!