# CliLoginRequest (/api/reference/objects/cli-login-request)

A request from a command-line tool to be given a key, waiting for a signed-in person to approve it.

```graphql
type CliLoginRequest {
  deviceLabel: String!
  expiresAt: DateTime!
  isApproved: Boolean!
  kind: CliLoginKind!
}
```

### Fields [#fields]

#### [`CliLoginRequest.deviceLabel`](#device-label) · [`String!`](/api/reference/scalars/string) `non-null` `scalar` [#device-label]
The name the tool gave for the machine it runs on. Show it so the person can check it is theirs.

#### [`CliLoginRequest.expiresAt`](#expires-at) · [`DateTime!`](/api/reference/scalars/date-time) `non-null` `scalar` [#expires-at]
When the request stops being approvable. A request past this moment is still returned until it is cleared away.

#### [`CliLoginRequest.isApproved`](#is-approved) · [`Boolean!`](/api/reference/scalars/boolean) `non-null` `scalar` [#is-approved]
True when it has already been approved. It cannot be approved twice.

#### [`CliLoginRequest.kind`](#kind) · [`CliLoginKind!`](/api/reference/enums/cli-login-kind) `non-null` `enum` [#kind]
What kind of key approving it will make.

### Returned By [#returned-by]

[`cliLoginRequest`](/api/reference/queries/cli-login-request)  `query`