Use this data source to retrieve information about a GitHub Actions public key. This data source is required to be used with other GitHub secrets interactions.
Note that the provider token
must have admin rights to a repository to retrieve it's action public key.
data "github_actions_public_key" "example" {
repository = "example_repo"
}
repository
- (Required) Name of the repository to get public key from.key_id
- ID of the key that has been retrieved.key
- Actual key retrieved.