Azure / Azure/azure-devops-cli-extension

[Feature Request] Add option for managed/automatic service principal during service connection / service endpoint creation

Open
#1,156 0 comments 0 reactions 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
682
Forks
278
Avg merge
3d 23h
Merged PRs (30d)
3

Description

**Is your feature request related to a problem? Please describe.**
When creating a service connection through devops, there's an option to have the service principal be managed by devops.
![devopsmanaged](https://user-images.githubusercontent.com/9356891/125849257-92a07e66-698d-4512-a756-6add52e98b93.png)

When deleting the service connection, it also cleans up the service connection if it was configured to be "Automatic".

**Describe the solution you'd like**

There should be a command line flag that can be used instead of `--azurerm-service-principal-id` (e.g., `--automatic--service-principal`) that will have a similar behaviour to the web interface. It will create the service principal using the same name as the connection, and will cause devops to delete it when the service connection is deleted.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.