The gitlab_instance_deploy_keys
data source allows to retrieve a list of deploy keys for a GitLab instance.
Upstream API: GitLab REST API docs
data "gitlab_instance_deploy_keys" "example" {}
# only public deploy keys
data "gitlab_instance_deploy_keys" "example" {
public = true
}
public
(Boolean) Only return deploy keys that are public.deploy_keys
(List of Object) The list of all deploy keys across all projects of the GitLab instance. (see below for nested schema)id
(String) The ID of this resource.deploy_keys
Read-Only:
created_at
(String)fingerprint
(String)id
(Number)key
(String)projects_with_write_access
(List of Object) (see below for nested schema)title
(String)deploy_keys.projects_with_write_access
Read-Only:
created_at
(String)description
(String)id
(Number)name
(String)name_with_namespace
(String)path
(String)path_with_namespace
(String)