An open API service indexing awesome lists of open source software.

https://github.com/colindembovsky/github-app-powershell-auth-sample

Sample Repo to show PowerShell authentication via GitHub App
https://github.com/colindembovsky/github-app-powershell-auth-sample

Last synced: 4 months ago
JSON representation

Sample Repo to show PowerShell authentication via GitHub App

Awesome Lists containing this project

README

          

# PowerShell GitHub App Auth Sample

This repo contains a sample script for showing authentication to GitHub using a GitHub App.

## Instructions

1. Create a GitHub App
1. Generate a private key and download it
2. Install the app on an org
3. Make a note of the `appId` as well as the `installation_id`
4. Use the sample [script](./JWT.ps1) to generate a JWT token
5. Use the JWT token to get an access token
6. Use the access token to interact with GitHub