Skip to main content

此版本的 GitHub Enterprise Server 将于以下日期停止服务 2026-06-02. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

“部署密钥”类别中的 GraphQL 架构类型参考文档。

Objects

DeployKey

Object

A repository deploy key.

DeployKey 实现

DeployKey 字段

名称说明

createdAt (DateTime!)

Identifies the date and time when the object was created.

enabled (Boolean!)

Whether or not the deploy key is enabled by policy at the Enterprise or Organization level.

id (ID!)

The Node ID of the DeployKey object.

key (String!)

The deploy key.

readOnly (Boolean!)

Whether or not the deploy key is read only.

title (String!)

The deploy key title.

verified (Boolean!)

Whether or not the deploy key has been verified.

DeployKeyConnection

Object

The connection type for DeployKey.

DeployKeyConnection 字段

名称说明

edges ([DeployKeyEdge])

A list of edges.

nodes ([DeployKey])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DeployKeyEdge

Object

An edge in a connection.

DeployKeyEdge 字段

名称说明

cursor (String!)

A cursor for use in pagination.

node (DeployKey)

The item at the end of the edge.