Use this data source to retrieve all deploy keys of a repository.
data "github_repository_deploy_keys" "example" {
repository = "example-repository"
}
repository
- (Required) Name of the repository to retrieve the branches from.keys
- The list of this repository's deploy keys. Each element of keys
has the following attributes:
id
- Key idtitle
- Key titlekey
- Key itselfverified
- true
if the key was verified.