Azure / Azure/azure-devops-cli-extension

Add Feature for az create service-connection github for Github Enterprise using token

Open
#1,309 1 comment 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.**
A clear and concise description of what the problem is. Ex. I cannot create a project..

**Describe the solution you'd like**
For the command "az devops service-endpoint github create" there is no option to provide GitHub Enterprise Server and authorization using PAT token.
Even by trying to set this up using json code as below, it doesnt configure as GitHub Enterprise
{
"data": {},
"name": "MyGitHubServiceEndpoint",
"type": "GitHub Enterprise Server",
"url": "https://github.orgname.com",
"authorization": {
"parameters": {
"Token": true
},
"scheme": "Token"
},
"isShared": false,
"isReady": true,
"serviceEndpointProjectReferences": [
{
"projectReference": {
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
"name": "ClientDemoGithubSPN"
},
"name": "MyGitHubServiceEndpoint"
}
]
}

**Additional context**
Add any other context or screenshots about the feature request here.

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.