Skip to main content

github

Web-based version-control and collaboration.

Provider Summary
total services: 32
total methods: 833
total resources: 244
total selectable resources: 237

See also:
[SHOW] [DESCRIBE] [REGISTRY]


Installation

REGISTRY PULL github v23.01.00104;

Authentication


{
"github": {
"type": string, // authentication type to use, suported values: basic
"credentialsenvvar": string, // env var name containing the base64 encoded string in the form: username:password
}
}

Example (Mac/Linux)


export GITHUB_CREDS=$(echo -n 'yourusername:ghp_YOURPERSONALACCESSTOKEN' | base64)
AUTH='{ "github": { "type": "basic", "credentialsenvvar": "GITHUB_CREDS" } }'
stackql shell --auth="${AUTH}"

Example (PowerShell)


$env:GITHUB_CREDS = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("yourusername:ghp_YOURPERSONALACCESSTOKEN"))
$Auth = "{ 'github': { 'type': 'basic', 'credentialsenvvar': 'GITHUB_CREDS' } }"
stackql shell --auth=$Auth

Services