github
A description of the provider.
See also:
[SHOW
] [DESCRIBE
] [REGISTRY
]
Installation
REGISTRY PULL github v0.3.1;
Authentication
{
"github": {
/**
* Type of authentication to use, suported values include: basic
* @type String
*/
"type": string,
/**
* Environment variable name containing the api key or credentials.
* Variable value must be a base64 encoded string of the form: username:password
* @type String
*/
"credentialsenvvar": string,
}
}
Example
export GITHUB_CREDS=$(echo -n 'yourusername:ghp_YOURPERSONALACCESSTOKEN' | base64)
AUTH='{ "github": { "type": "basic", "credentialsenvvar": "GITHUB_CREDS" } }'
stackql shell --auth="${AUTH}"