| page_title | github_actions_environment_public_key Data Source - terraform-provider-github |
|---|---|
| description | Get information on a GitHub Actions Environment Public Key. |
Use this data source to retrieve information about a GitHub Actions public key of a specific environment. 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 the action public keys of it's environments.
data "github_actions_environment_public_key" "example" {
repository = "example_repo"
environment = "example_environment"
}environment(String) Name of the environment to get public key from.repository(String) Name of the repository to get public key from.
id(String) The ID of this resource.key(String) Actual key retrieved.key_id(String) ID of the key that has been retrieved.