Azure / Azure/azure-devops-cli-extension

[Feature Request] 'az devops service-endpoint share' command

Open
#1,088 2 comments 6 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.**

I can create Azure DevOps service endpoints but because the secrets are stored inside the endpoint, I do not want to create an endpoint in each project but instead use the built-in sharing functionality of service endpoints in Azure DevOps. Currently I have to call the REST API for that: https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints/share%20service%20endpoint?view=azure-devops-rest-6.0

**Describe the solution you'd like**

Command: `az devops service-endpoint share`
Parameters:
- `--id` Id of the service endpoint to share. Alternatively `--endpoint-name` and `--project-name` parameters could be supplied for better usability
- `--target-project-name` Name of the project where shared endpoint will be created
- `--target-name` Name of the shared endpoint

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.