SSHKey
An SSH key associated with a repository, not an account. Often referred to as deploy key. Provides access to this repository, but only vie SSH. Can have read-only or read-write access.
type SSHKey { id: Int! rid: ID! created: Time! lastUsed: Time repo: Repository! key: String! keyType: String! fingerprintSHA256: String! comment: String access: AccessMode!}Fields
Section titled “Fields”SSHKey.id ● Int!non-nullscalar {#id}
Section titled “SSHKey.id ● Int! {#id}”SSHKey.rid ● ID!non-nullscalar {#rid}
Section titled “SSHKey.rid ● ID! {#rid}”SSHKey.created ● Time!non-nullscalar {#created}
Section titled “SSHKey.created ● Time! {#created}”SSHKey.lastUsed ● Timescalar {#last-used}
Section titled “SSHKey.lastUsed ● Time {#last-used}”SSHKey.repo ● Repository!non-nullobject {#repo}
Section titled “SSHKey.repo ● Repository! {#repo}”SSHKey.key ● String!non-nullscalar {#key}
Section titled “SSHKey.key ● String! {#key}”SSHKey.keyType ● String!non-nullscalar {#key-type}
Section titled “SSHKey.keyType ● String! {#key-type}”SSHKey.fingerprintSHA256 ● String!non-nullscalar {#fingerprint-sha256}
Section titled “SSHKey.fingerprintSHA256 ● String! {#fingerprint-sha256}”SSHKey.comment ● Stringscalar {#comment}
Section titled “SSHKey.comment ● String {#comment}”SSHKey.access ● AccessMode!non-nullenum {#access}
Section titled “SSHKey.access ● AccessMode! {#access}”The access that applies to this key for this repository
Returned By
Section titled “Returned By”createDeployKey mutation ● deleteDeployKey mutation
Member Of
Section titled “Member Of”SSHKeyCursor object