Use this data source to generate a GitHub App JWT.
data "github_app_token" "this" {
app_id = "123456"
installation_id = "78910"
pem_file = file("foo/bar.pem")
}
The following arguments are supported:
app_id
- (Required) This is the ID of the GitHub App.
installation_id
- (Required) This is the ID of the GitHub App installation.
pem_file
- (Required) This is the contents of the GitHub App private key PEM file.
The following additional attributes are exported:
token
- The generated GitHub APP JWT.