Skip to content

Commit

Permalink
Update github.spc
Browse files Browse the repository at this point in the history
  • Loading branch information
cbruno10 authored Apr 5, 2024
1 parent 34094ef commit 1874115
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions config/github.spc
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
connection "github" {
plugin = "github"

# The GitHub personal access token to authenticate to the GitHub APIs, e.g., `ghp_3b99b12218f63bcd702ad90d345975ef6c62f7d8`.
# Please see https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token for more information.
# GitHub application installation access token, e.g., `ghs_UdmjfiKzVbFJNBsaiePwFPCmKeFakeToken`
# Please see https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#create-an-installation-access-token-for-an-app for more information.
# The following tokens are currently supported:
# - Personal access tokens, e.g., `ghp_3b99b12218f63bcd702ad90d345975ef6c62f7d8`
# https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token for more information.
# - GitHub application installation access token, e.g., `ghs_UdmjfiKzVbFJNBsaiePwFPCmKeFakeToken`
# https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#create-an-installation-access-token-for-an-app for more information.
# Can also be set with the GITHUB_TOKEN environment variable.
# token = "ghp_J1jzniKzVbFJNB34cJPwFPCmKeFakeToken"
# token = "ghp_3b99b12218f63bcd702ad90d345975ef6c62f7d8"

# GitHub Enterprise requires a base_url to be configured to your installation location.
# Can also be set with the GITHUB_BASE_URL environment variable.
# base_url = "https://github.example.com"

# GitHub Apps to authenticate with the GitHub API. This is distinct from personal user authentication. GitHub App authentication typically involves using a private key to create a JSON Web Token (JWT), which is then exchanged for an installation access token.
# GitHub App authentication using a private key to create a JSON Web Token (JWT), which is then exchanged for an installation access token.

# The unique identifier for the GitHub App.
# Can also be set with the GITHUB_APP_ID environment variable.
# app_id = 1234232
# app_id = 12345678

# The installation ID for a specific installation of the GitHub App.
# Can also be set with the GITHUB_APP_INSTALLATION_ID environment variable.
# installation_id = 7439287
# installation_id = 8901234

# The path to a private key PEM file of the GitHub App, used for generating JWTs for authentication.
# Can also be set with the GITHUB_APP_PEM_FILE environment variable.
# private_key = "/Users/ec2-home/2016-10-19.private-key.pem"
# private_key = "/Users/myuser/app_private_key.pem"
}

0 comments on commit 1874115

Please sign in to comment.