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
- Host: GitHub
- URL: https://github.com/colindembovsky/github-app-powershell-auth-sample
- Owner: colindembovsky
- Created: 2022-10-27T19:20:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-27T19:25:56.000Z (over 3 years ago)
- Last Synced: 2025-04-13T17:46:31.713Z (about 1 year ago)
- Language: PowerShell
- Size: 1.95 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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